[Feature]: [UX] Terminal style history for chat input text field. #6717
Replies: 6 comments
|
Simple enough change, made a minimal pr. |
|
The files that need to be edited for this feature are a high action space, as a result merge conflicts keep getting introduced. Will make a pr on this once the repo is open for contributions, else I'll just have to keep closing my PRs. |
|
Would like this too. One detail worth pinning down in the spec, since it is the difference between this being useful and being annoying: Up should only recall history when the composer is empty. If there is already text in the box, Up should move the caret within that text as it does today — otherwise the key becomes unusable for editing a multi-line prompt, which is most of them. That matches the terminal behaviour the title refers to (readline/zsh only pull from history when the line is empty, or when the caret is on the first line), and it keeps the change additive rather than taking an existing key away. The rest, in roughly the order I would want it:
Smallest useful version is just the first bullet. |
|
Note that Codex desktop does support this feature and I love it, have been missing it a lot since switching! |
|
#7951 specifies the same ArrowUp/ArrowDown prompt history for web and desktop. Please retain its interaction guards: preserve autocomplete and multiline caret keys; skip IME composition, modifiers and pending approval/input; recall only visible user text, including the just-sent optimistic prompt; keep history entries immutable; and restore unsent drafts without clobbering them when switching threads. The feature remains pending. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
restore attempt 1
All reactions