mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-11-20 04:59:34 +01:00
fix(mobile): Send on Enter fourth review fixes
- selectSession restores the CJK draft after _activateFileBrowserSession, which test/file-browser-search.test.ts pins right after the activeSessionId assignment. - A lone digit while the session has a pending permission_prompt or elicitation_dialog goes out without the delayed Enter: the dialog acts on the digit, and the Enter would confirm whatever comes next. Same rule as the Approvals Inbox and the Discord bridge. - Changeset mentions the toolbar Enter sending the CJK field. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
80d719df5f
commit
b5ad7afebe
6 files changed
+79
-6
No files matched your search
@@ -72,7 +72,9 @@ typed text stays in it until Enter, so you can scroll the terminal back to a que
|
||||
your answer before sending. Shift+Enter adds a line, Esc clears the field, and autocorrect is on.
|
||||
Enter always goes out as its own write, a moment after the text, to the session the answer was
|
||||
typed for: a single character is typed, so CLI menus that take a digit still work, and anything
|
||||
longer goes like the prompt composer's Send, as one paste. The toolbar's Enter button sends the
|
||||
longer goes like the prompt composer's Send, as one paste. The one exception is a lone digit while
|
||||
a permission or question dialog is waiting: the digit answers the dialog by itself, so no Enter
|
||||
follows it, which would otherwise confirm whatever the CLI shows next. The toolbar's Enter button sends the
|
||||
field too. With the keyboard bar's one-shot Ctrl armed, the next key you type goes out as a control
|
||||
key (Ctrl, then `c` is Ctrl+C) instead of being held. With the keyboard down the field stays one
|
||||
line tall. A draft stays with its session: switching tabs and coming back brings it back.
|
||||
|
||||
Reference in new issue
Block a user