Skip to content

Commit d42eae6

Browse files
authored
fix(tui): docs hardening — complete newline chords and add ^X to the help card (#119)
* docs: complete the newline chord family in README binding docs * fix(tui): list ^X arm-cancellation in the F1 help card
1 parent ed34312 commit d42eae6

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

‎README.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,8 @@ own front-end settings are separate; see [Configuration](#configuration).
258258
- **Auto-fitting composer** — the input box rests at three rows and grows
259259
with your prompt (multi-line or a single long line, wide-char aware) up to
260260
twelve rows or what the terminal can spare; `⇧⏎` inserts a newline
261-
(`^J` on terminals that cannot tell Shift+Enter from Enter). It shrinks
261+
(`ctrl+enter`, `alt+enter`, or `^J` on terminals that cannot tell
262+
Shift+Enter from Enter). It shrinks
262263
back after send, history recall, and `/`-commands. A one-row shelf above it carries staged
263264
files, the folded queue count (`^Q` unfolds the strip), a `↓ new output`
264265
hint, and a pending skill chip. Prompts wrap in the transcript at the
@@ -414,7 +415,7 @@ own front-end settings are separate; see [Configuration](#configuration).
414415
| `^Q` | Unfold the queue strip from the composer shelf (`↑↓`/`jk` select · `←→`/`hl` move · `d d` two-step delete · `esc`/`⏎` folds it back; full manager: `/queue`) |
415416
| `^S` | Stop the running sub-agent (two-step confirm: `y` stops, any other key continues) |
416417
| `^T` | Cycle reasoning depth (`disabled` → `low` → `medium` → `high`) |
417-
| `⇧⏎` | Insert a newline in the input (`^J` and `Ctrl+Enter` still work on terminals that cannot tell Shift+Enter from Enter) |
418+
| `⇧⏎` | Insert a newline in the input (`ctrl+enter`, `alt+enter`, and `^J` still work on terminals that cannot tell Shift+Enter from Enter) |
418419
| `s` / `x` | Save / skip a pending skill-suggestion chip while the composer is empty (`alt+s`/`alt+x` work everywhere) |
419420
| `1`–`3` | Resume a recent session from the home screen |
420421
| `^L` | Clear the conversation (two-step confirm: `y` clears, any other key cancels) |

‎internal/tui/commands.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@ func (m *Model) buildHelpCard() string {
324324
{"^K", "command palette"},
325325
{"^T", "cycle reasoning depth"},
326326
{"^S", "stop the running sub-agent"},
327+
{"^X", "arm turn cancellation from any state (y confirms)"},
327328
{"^L", "clear the conversation"},
328329
{"^E", "toggle details (reasoning + tool output)"},
329330
{"alt+f", "find in the transcript"},

0 commit comments

Comments
 (0)