▍ humdrum codex / glint v1.0.2
license AGPL-3.0

docs: expand TASK-010 status bar (dir, theme, line:col, words, help, selection counts)

4adb6abb9386d859bb5ba6639b60f1c4307457bb
humdrum <me@humdrum.me> · 2026-06-29 09:29

parent a9471ff9

1 files changed

- → Status-bar-line-col-and-word-count.md +7 −2
@@ -1,9 +1,10 @@
 ---
 id: TASK-010
-title: 'Status bar: line:col and word count'
+title: 'Status bar: directory, theme, line:col, word count, help, selection counts'
 status: "\U0001F7E6 Backlog"
 assignee: []
 created_date: '2026-06-29 16:26'
+updated_date: '2026-06-29 16:29'
 labels:
   - feature
   - release-1
@@ -15,7 +16,7 @@
 ## Description
 
 <!-- SECTION:DESCRIPTION:BEGIN -->
-Release 1. The status bar shows only filename/theme/dirty. Add live cursor position (Ln:Col, 1-based) and a word count (and optionally char count / % through the document). Lay out alongside the existing left status without overflowing the bar; keep theme colors.
+Release 1. Rework the status bar to always show: the current directory (the open file's folder, or the working/vault dir), the current theme name, the cursor position as Ln:Col (1-based), the document word count, and a '?' indicator for help (opens the in-app help overlay, TASK-011). When text is selected, additionally show the selection's character count and word count (e.g. '12 chars · 3 words selected'). Lay it out across the bar (left: dir / file + dirty dot; right: Ln:Col · words · theme · ?) without overflowing at narrow widths; keep theme colors (StatusFg/StatusBg). Counts update live.
 <!-- SECTION:DESCRIPTION:END -->
 
 ## Acceptance Criteria
@@ -23,4 +24,8 @@ <!-- AC:BEGIN -->
 - [ ] #1 Status bar shows Ln:Col (1-based) updating live
 - [ ] #2 Status bar shows a word count
 - [ ] #3 Layout coexists with filename/dirty and respects theme colors
+- [ ] #4 Always shows the current directory and the theme name
+- [ ] #5 Shows a '?' help indicator (tied to the help overlay)
+- [ ] #6 When text is selected, shows the selection's character count and word count
+- [ ] #7 Bar degrades gracefully at narrow widths (no overflow)
 <!-- AC:END -->