Skip to content

Filtering inputbox hotkeys #57

@Axlefublr

Description

@Axlefublr

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 |inputhere is my |)
Alt+b and/or Ctrl+← — Go backwards a word (here is my |inputhere is |my input)
Alt+f and/or Ctrl+→ — Go fowards a word (here is my |inputhere is my input|)
Ctrl+e and/or End — Go to the end of the input (here is my |inputhere 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 |inputhere is |input)

I would love to see these implemented! I think using the inputbox would become a lot less painful thanks to those 😌

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions