mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-12-01 00:49:33 +01:00
feat(mobile): Send on Enter for the pinned CJK input field
A per-device setting next to CJK Input keeps typed text in the pinned field until Enter instead of streaming it to the PTY, so a phone user can scroll the terminal and edit an answer before sending (Termux-style). One line goes as text + CR, several lines as one bracketed paste with a delayed Enter, like the prompt composer. Shift+Enter is a newline, Escape clears, Backspace on an empty field still reaches the PTY, and autocorrect is on in this mode. The field grows with its text and the keyboard layout reserves its real height. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e99b42c387
commit
e0e2f689cf
8 files changed
+307
-3
No files matched your search
@@ -2064,6 +2064,13 @@
|
||||
</div>
|
||||
<label class="switch switch-sm"><input type="checkbox" id="appSettingsCjkInput"><span class="slider"></span></label>
|
||||
</div>
|
||||
<div class="set-row" data-search="cjk input send on enter hold draft pinned prompt field phone">
|
||||
<div class="set-row-text">
|
||||
<span class="set-row-label">Input Field: Send on Enter</span>
|
||||
<span class="set-row-desc">With CJK Input on, keep typed text in the field until Enter instead of sending it as you type, so you can scroll the terminal and edit before sending. Autocorrect is on in this mode.</span>
|
||||
</div>
|
||||
<label class="switch switch-sm"><input type="checkbox" id="appSettingsCjkHoldUntilEnter"><span class="slider"></span></label>
|
||||
</div>
|
||||
<div class="set-row" data-search="extended keyboard bar tab esc arrows phone">
|
||||
<div class="set-row-text">
|
||||
<span class="set-row-label">Extended Keyboard Bar <span class="set-tag">phone</span></span>
|
||||
|
||||
Reference in new issue
Block a user