Feature Request: Add shortcut to clear all input content in the message box
What would you like to be added?
While using Gemini CLI, in the message input box where we paste or write prompts, it would be very helpful to have a keyboard shortcut to quickly select and delete all the input content.
Currently, when we paste a long context and want to clear it entirely, we have to hold down the Backspace or Delete key, which is inefficient and frustrating.
Suggested Solution:
Implement a shortcut like Ctrl+U, Ctrl+L, or Ctrl+A followed by Delete/Backspace to clear the input box instantly.
Alternatively, allow a simple command like :clear to quickly reset the input field.
Why is this needed?
Benefits:
Greatly improves usability, especially for users working with large prompts.
Increases productivity and reduces frustration during regular use.
Additional context
No response
up
up
Closing this issue as it only contains 'up' comments and lacks context.
I'm waiting for a response to my issue, whether it will be answered, whether they are already implementing it, whether they are thinking of implementing it, etc.
@srithreepo don't close this off, it's a real issue.
It's pretty simple too - you write a bunch of stuff in the input field, and then decide you don't want to actually send it.
How do you clear it other than pressing backspace a million times?
Claude Code has Ctrl-C shortcut, which cancels the current command, including clearing whatever text you had started writing. Pressing it multiple times in a row exits (like Gemini)
You should just implement the same shortcut IMO.
Found possible duplicate issues:
- #4971: (#0.9011334180831909)
Hi @noejunior792. I believe using Ctrl+C will clear the input area. Closing this, but please feel free to reopen if you're still having trouble.
@galz10 thanks, thanks, you resolve my problem.
I get press Ctrl + C again to exit. So doesn't seem to solve the problem.
But Ctrl+C also stops the agent from working, what if I want to not interrupt it, and clear the input?
Please re-open as this isn't a proper solution
When I press ctrl+c I get the following msg: "Press Ctrl+C again to exit." and the text box would not clean as would I expect in a terminal prompt.
Press Ctrl+C again to exit.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
> asdfasf
asdfasdfasdf
asdfasafd
fdsdsg
▄▄▄▄▄▄▄▄▄▄▄▄▄▄
Imo the issue should be re-opened also.