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

Support for up-arrow previous prompt history, and control-keys #224

Open
mikecvet opened this issue Feb 17, 2024 · 2 comments
Open

Support for up-arrow previous prompt history, and control-keys #224

mikecvet opened this issue Feb 17, 2024 · 2 comments

Comments

@mikecvet
Copy link
Contributor

It would be great if there was a way to support input history with the Text, which iterated through prior entries through the up-arrow.

Also, on Mac OS, cntl-D seems to just input 'd' rather than a shell-like exit command, though cntl-C quits properly.

@msrd0
Copy link

msrd0 commented Feb 23, 2024

For me, not only ctrl+D does not properly send end-of-input, but ctrl+C also does not quit. Other control keys like ctrl+A (that's jump to begining of the line in bash) and ctrl+K (kill from cursor to end of line in bash) also just enter the characters as if ctrl was not pressed. It would be nice if those worked out of the box, at least when using bash which usually supports these kinds of controls.

@mikecvet
Copy link
Contributor Author

Added suggested history implementation here #229

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

No branches or pull requests

2 participants