Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Readline keybinds #57545

Open
NetSysFire opened this issue May 8, 2022 · 0 comments
Open

Readline keybinds #57545

NetSysFire opened this issue May 8, 2022 · 0 comments
Labels
Controls / Input Keyboard, mouse, keybindings, input UI, etc. Info / User Interface Game - player communication, menus, etc. (P4 - Low) Low priority issues: things which are e.g exotic, minor and/or hard to encounter <Suggestion / Discussion> Talk it out before implementing

Comments

@NetSysFire
Copy link
Member

Is your feature request related to a problem? Please describe.

As an avid Linux and terminal user, it would be great to be able to edit things faster using basic readline features.

Solution you would like.

Ctrl+u deletes everything behind the cursor, Ctrl+k everything after it, Ctrl+w deletes the word behind the cursor, Ctrl+<left/right arrow key) jumps between words. Only gets used if a text input field is currently focused.
We already have nice and efficient keybinds for everything else, so it would supplement that nicely.

Adding low priority because writing text is pretty uncommon and relatively unimportant in the game, but it is helpful for minor stuff.

The keybinds I listed are just the ones I find the most useful and commonly used ones. See readline(3) for more.

Describe alternatives you have considered.

No response

Additional context

No response

@NetSysFire NetSysFire added Info / User Interface Game - player communication, menus, etc. (P4 - Low) Low priority issues: things which are e.g exotic, minor and/or hard to encounter Controls / Input Keyboard, mouse, keybindings, input UI, etc. labels May 8, 2022
@github-actions github-actions bot added the <Suggestion / Discussion> Talk it out before implementing label May 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Controls / Input Keyboard, mouse, keybindings, input UI, etc. Info / User Interface Game - player communication, menus, etc. (P4 - Low) Low priority issues: things which are e.g exotic, minor and/or hard to encounter <Suggestion / Discussion> Talk it out before implementing
Projects
None yet
Development

No branches or pull requests

1 participant