make Ctrl+U delete all key inputs and start over in every text input field
bash
, zsh
, sudo
, swaylock
, and systemd's dm-crypt prompt all do this already, which is awesome
This approach would cover GTK text inputs: https://jnrowe.github.io/articles/tips/emacs_gtk_shortcuts.html
Probably need a Firefox extension to get this to work in HTML <input />
and <textarea />
elements?