feat(ui): persistent literal-space toggle on the command line

'>' button after the Command: label turns the leading-'>' literal-space
behavior into a mode: while on, Space stays in the line instead of
submitting, until toggled off. State persists in settings.json; a
hand-typed leading '>' still works for a single line.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Hakan SevenandClaude Fable 5 committed 2026-07-21 19:43:11 +03:00
1 parent c0499a1d3c
commit 7811add666
5 files changed
+87 -7

No files matched your search

+4
View File
@@ -1364,6 +1364,10 @@ pub enum Message {
CommandHistoryNext,
/// Toggle the dropdown listing the full command-line history.
CommandHistoryToggle,
/// Toggle the persistent literal-space mode (the `>` button): while on,
/// every command line behaves as if it started with `>` — Space stays in
/// the input instead of submitting. Saved in the user config.
CommandLiteralToggle,
/// Copy the full command-line history (every line) to the system
/// clipboard as plain text — issue #232, so output can be pasted for
/// debugging instead of screenshotted.