Ctrl-U - Flush from cursor to beginning of prompt - Opposite of Ctrl-K
Is your feature request related to a problem? Please describe.
Ctrl-U works differently in zsh and bash. In zsh (and Rizin) it flushes the whole command prompt (can be pasted back with Ctrl-Y), whereas in bash, Ctrl-U performs the opposite of Ctrl-K.
Ctrl-K (in both zsh, bash and Rizin) flushes everything from the current cursor position (including the character under the cursor) until the end of the command prompt (can be pasted back with Ctrl-Y).
In bash, Ctrl-U flushes everything from the current cursor position (not including the character under the cursor) until the beginning of the command prompt (also can be pasted back with Ctrl-Y).
Describe the solution you'd like It would be a good addition to have in Rizin either:
-
Ctrl-Uworking like bash'sCtrl-U(opposite of Rizin'sCtrl-K), usingCtrl-Cis always a choice to "flush" the prompt - or leave
Ctrl-Uas is, and haveMeta-Kworking like bash'sCtrl-U
Describe alternatives you've considered 💔
Additional context 🤷
This issue has been automatically marked as stale because it has not had recent activity. Considering a lot has probably changed since its creation, we kindly ask you to check again if the issue you reported is still relevant in the current version of rizin. If it is, update this issue with a comment, otherwise it will be automatically closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. Considering a lot has probably changed since its creation, we kindly ask you to check again if the issue you reported is still relevant in the current version of rizin. If it is, update this issue with a comment, otherwise it will be automatically closed if no further activity occurs. Thank you for your contributions.
Let's choose:
Ctrl-U working like bash's Ctrl-U (opposite of Rizin's Ctrl-K), using Ctrl-C is always a choice to "flush" the prompt
This issue has been automatically marked as stale because it has not had recent activity. Considering a lot has probably changed since its creation, we kindly ask you to check again if the issue you reported is still relevant in the current version of rizin. If it is, update this issue with a comment, otherwise it will be automatically closed if no further activity occurs. Thank you for your contributions.