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

feat: unix term add Control-A (home), Control-E (end) and Control-H support #85

Merged

Conversation

ttys3
Copy link
Contributor

@ttys3 ttys3 commented Jan 23, 2021

@pksunkara
Copy link
Collaborator

pksunkara commented Jan 23, 2021

Copy link
Collaborator

@pksunkara pksunkara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Commented

@ttys3
Copy link
Contributor Author

ttys3 commented Jan 24, 2021

@pksunkara no, ^[[H is not ^A, ^[[F is also not ^E, the same to Control-H

I tested this once again.

in the other way, if it is the same, the python prompt_toolkit lib would not impiment it twice ? isn't it?

@ttys3
Copy link
Contributor Author

ttys3 commented Jan 24, 2021

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

@pksunkara pksunkara merged commit db45814 into console-rs:master Jan 26, 2021
dtolnay pushed a commit to dtolnay-contrib/console that referenced this pull request Feb 4, 2022
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants