[FEATURE]:clear prompt while saving it to prompt history #8153

Open
opened 2026-02-16 18:09:17 -05:00 by yindo · 1 comment
Owner

Originally created by @sai-sy on GitHub (Jan 31, 2026).

Originally assigned to: @rekram1-node on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

I've tried searching for this but can't find it but I apologize if I'm being a dunce and just looking past it. I often write long prompts awaiting something to be finished or change my mind and want to do something else first. Cntrl - c wipes the input and then I type away. but then I'd like to revisit that old prompt immediately after. I'd be nice if cntrl-c still added the prompt to the prompt history so I can arrow key nav back up to it

Originally created by @sai-sy on GitHub (Jan 31, 2026). Originally assigned to: @rekram1-node on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request I've tried searching for this but can't find it but I apologize if I'm being a dunce and just looking past it. I often write long prompts awaiting something to be finished or change my mind and want to do something else first. Cntrl - c wipes the input and then I type away. but then I'd like to revisit that old prompt immediately after. I'd be nice if cntrl-c still added the prompt to the prompt history so I can arrow key nav back up to it
yindo added the opentuidiscussion labels 2026-02-16 18:09:17 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 31, 2026):

This issue might be a duplicate or related to existing issues. Please check:

  • #10538: Ctrl-C doesn't clear the input on Windows, it crashes
  • #7079: input_clear has no effect (Ctrl+C keybind issues)
  • #7309: Missing /skills and /plugin commands, and Ctrl+C unexpected exit issue
  • #4997: Keybind issues (pinned keybinds documentation)

These issues all relate to Ctrl+C behavior and input handling. Your feature request for preserving prompt history when Ctrl+C is pressed could be related to or complement the fixes in these issues.

Feel free to ignore if your specific case differs.

@github-actions[bot] commented on GitHub (Jan 31, 2026): This issue might be a duplicate or related to existing issues. Please check: - #10538: Ctrl-C doesn't clear the input on Windows, it crashes - #7079: input_clear has no effect (Ctrl+C keybind issues) - #7309: Missing /skills and /plugin commands, and Ctrl+C unexpected exit issue - #4997: Keybind issues (pinned keybinds documentation) These issues all relate to Ctrl+C behavior and input handling. Your feature request for preserving prompt history when Ctrl+C is pressed could be related to or complement the fixes in these issues. Feel free to ignore if your specific case differs.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8153