-
Notifications
You must be signed in to change notification settings - Fork 18
Filtering inputbox hotkeys #57
Description
In any inputbox in a TUI application, I expect a couple of hotkeys to work:
Ctrl+u — Delete until the start of the input (here is my |input → |input)
Ctrl+k — Delete until the end of the input (here is my |input → here is my |)
Alt+b and/or Ctrl+← — Go backwards a word (here is my |input → here is |my input)
Alt+f and/or Ctrl+→ — Go fowards a word (here is my |input → here is my input|)
Ctrl+e and/or End — Go to the end of the input (here is my |input → here is my input|)
Ctrl+a and/or Home — Go to the end of input (here is my |input → |here is my input)
Ctrl+w and/or Ctrl+Backpace — Delete a word backwards (here is my |input → here is |input)
I would love to see these implemented! I think using the inputbox would become a lot less painful thanks to those 😌