-
Notifications
You must be signed in to change notification settings - Fork 117
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
feat: unix term add Control-A (home), Control-E (end) and Control-H support #85
feat: unix term add Control-A (home), Control-E (end) and Control-H support #85
Conversation
Aren't they already supported? https://github.com/mitsuhiko/console/blob/cc3fcc154a993501222b0ddf527d5f055d0329b7/src/unix_term.rs#L160-L162 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commented
@pksunkara no, I tested this once again. in the other way, if it is the same, the python |
and, use Control-A (home), Control-E (end) and Control-H will keep your hands in the main keyboard area, without move to the right far away |
A first step to address console-rs#70. You can now press the spacebar to "pause" the console. The subscriber will continue to process events, but as along as the client is "paused", it won't send any task updates. Resuming will bring the client back to "live", getting all updates again. ![paused](https://user-images.githubusercontent.com/51479/127583646-0cb879c9-0fb7-4025-90c8-4edee8c3e08d.PNG) I've tried a few different UI things, from making the whole background of the top red, to just making the word red... It's fine if others feel there's a better or prettier way to show this, but to keep moving forward, I just picked something that seemed good enough. Closes console-rs#85
feat: unix term add Control-A (home), Control-E (end) and Control-H (8) support
ref to https://github.com/prompt-toolkit/python-prompt-toolkit/blob/0ae9aa688e0b3f81a29a33015ca1f8a9adb05c6c/prompt_toolkit/input/ansi_escape_sequences.py#L26