-
-
Notifications
You must be signed in to change notification settings - Fork 251
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
Add ability to quickly clear input line #7177
Comments
Yea I'm aware of that option. But checking that will not solve the problem for example: |
With |
That allows you to hit backspace to clear IF you haven't started typing something else yet.. But if youre midway through typing some other command and quickly need to switch targets as in my above example then we're forced to either do a key combination, hit some other bound key like F1/2, etc, or backspsace a bunch before entering a new command. |
I see. I think this makes sense then unless we can see any side-effects:
|
Brief summary of issue / Description of requested feature:
It is sometimes necessary to quickly clear the input line in order to type a new command. This is currently possible using multiple keystrokes such as Shift-Home then Down, or by making a key binding that calls clearCmdLine(), but the user is currently unable to bind keys that other mud clients use for this functionality such as Down or Escape.
I propose either allowing Down and/or Escape to be bound as a key, or adding functionality to the Down key to clear the input line if it is not in the state of traversing the command history stack. Additionally it would be useful for the Up key to immediately start traversing the command history regardless if there is typed input on the command line already.
The text was updated successfully, but these errors were encountered: