feat(terminal): configurable shortcut buttons#6
Open
dguerizec wants to merge 4 commits intotwidi:mainfrom
Open
feat(terminal): configurable shortcut buttons#6dguerizec wants to merge 4 commits intotwidi:mainfrom
dguerizec wants to merge 4 commits intotwidi:mainfrom
Conversation
Add a configurable toolbar of shortcut buttons for the terminal: - 3 slots stored in localStorage (per-device, not synced) - Default: Ctrl+C, Ctrl+Z, one empty slot - Config panel toggled by re-clicking the Terminal tab - Each slot opens a dialog with live key capture (press any combo) - Supports Ctrl+A-Z, Alt+key, arrows, Esc, Tab, Enter, etc. - Per-button "Show on desktop" toggle - Buttons appear in the terminal toolbar alongside Copy mode toggle - On mobile: all non-empty buttons visible - On desktop: only buttons with showOnDesktop enabled
…s globally - Fix compact header not collapsing when re-clicking Terminal tab on mobile - Move terminalShortcuts to SYNCED_SETTINGS_KEYS so shortcuts configured on desktop are available on mobile (and vice versa)
…slot mismatch - Use hidden <input> instead of div[tabindex=0] for key capture so mobile browsers show the virtual keyboard - Reset _isApplyingRemoteSettings guard on nextTick to prevent ping-pong loop when backend broadcasts array/object synced settings back to sender - Pass shortcut data directly to dialog open() to avoid stale prop from same-tick reactivity delay - Dialog now closes itself after save/clear instead of relying on parent accessing unexposed template ref
This was referenced Mar 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes included
<input>for key capture to trigger mobile virtual keyboardTest plan
🤖 Generated with Claude Code