Skip to content

feat(glyphs): toggle every glyph slot between none and default with Shift+Tab - #593

Merged
sirmalloc merged 2 commits into
sirmalloc:mainfrom
ddelange:glyph-editor-blank-all
Oct 29, 2026
Merged

sirmalloc merged 2 commits into
sirmalloc:mainfrom
ddelange:glyph-editor-blank-all

Conversation

@ddelange

Copy link
Copy Markdown
Contributor

Problem

The glyph editor clears one row at a time with Backspace.
Widgets with several symbols are usually blanked whole, to save width on the status line, so that is one Backspace and one arrow key per row: five rounds on Cache Timer, four on Git Status.

Change

Shift+Tab in the glyph editor blanks every slot at once.
Pressing it again puts every slot back to its default, so the key is reversible and nothing is lost by trying it.

The hint line now reads:

↑↓ row, type to set, Tab default, Backspace none, Shift+Tab toggle all none/default, Enter save, ESC cancel

It applies to every multi-symbol widget: Git Ahead/Behind, Git Status, Git Conflicts, Git Changes, Git Clean Status, Cache Timer and the jj equivalents.
Single-slot widgets keep the shorter hint, where Backspace already does the job.

Shift+Tab was free in the TUI, and ink reports it as tab plus shift.
Every printable key inside that editor is taken by glyph input, so a letter was not available.

bun test (2364 pass) and bun run lint are green.

…hift+Tab

Blanking a multi-symbol widget to save width on the status line was one
Backspace per row, five of them on Cache Timer. Shift+Tab now blanks every
slot, and blanks back to the defaults, so the key is reversible.
@ddelange
ddelange force-pushed the glyph-editor-blank-all branch from cdc0208 to afc74e2 Compare October 9, 2026 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants