Skip to content

TUI: obvious ways to quit and to the : command line - #7

Merged
ralyodio merged 1 commit into
mainfrom
quit-ux
Nov 30, 2026
Merged

ralyodio merged 1 commit into
mainfrom
quit-ux

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

User reports: "there's no way to exit sk33p" and "where do we enter :w ?"

Quitting already worked (Ctrl+Q, :q) but nothing on screen said so, and the keys people try first did nothing useful (Ctrl+C copied, q typed a q, Esc was silent).

  • Ctrl+C twice quits (first copies + "Ctrl+C again to quit"); Ctrl+C cancels edit/command like Esc.
  • Esc in the grid: "Ctrl+Q or :q quits · : runs a command (:w file.xlsx saves as) · ? shows every key".
  • Bottom bar always shows : cmd; in command mode: Enter run · Esc cancel · w FILE save as · q quit · e FILE open.
  • Bottom-bar hints are clickable.
  • Unsaved changes still ask once (single quit path).

Verified in tmux on the release build (Ctrl+C Ctrl+C exits, one Ctrl+C copies + hint, Esc hint, : shows the command hints, Ctrl+Q exits). cargo test --release 20/20 incl. a new quit/command-line flow test; clippy clean.

🤖 Generated with Claude Code

- Ctrl+C twice quits (first copies, says "Ctrl+C again to quit"); Ctrl+C
  cancels an edit or a command like Esc.
- Esc in the grid shows how to quit and how to save as (:w file.xlsx).
- Bottom bar always shows ": cmd"; in command mode it lists Enter run /
  Esc cancel / w FILE save as / q quit / e FILE open.
- The bottom-bar hints are buttons (help, cmd, ask, save, quit, w, e).
- One quit path (quit_request) for Ctrl+Q, Ctrl+C twice and clicks; unsaved
  changes still ask once. Help + README updated; test covers it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ralyodio
ralyodio merged commit 03eceab into main Nov 30, 2026
3 checks passed
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.

1 participant