-
-
Notifications
You must be signed in to change notification settings - Fork 564
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
clobbering inputrc after search UI #987
Comments
This appears related to the |
This was initially in place for when we used a different terminal backend. That backend required that the terminal be in a specific mode, or otherwise key modifiers would not be correctly recognized. It was super frustrating. Since the move to crossterm, we automatically switch to raw mode: https://github.com/atuinsh/atuin/blob/b48de9bd9d89fb9b6a0044a1b251e5b2ff116387/atuin/src/command/client/search/interactive.rs#L528 Should resolve #987, #650, #909, #492 Should also supercede #1149
This was initially in place for when we used a different terminal backend. That backend required that the terminal be in a specific mode, or otherwise key modifiers would not be correctly recognized. It was super frustrating. Since the move to crossterm, we automatically switch to raw mode: https://github.com/atuinsh/atuin/blob/b48de9bd9d89fb9b6a0044a1b251e5b2ff116387/atuin/src/command/client/search/interactive.rs#L528 Should resolve #987, #650, #909, #492 Should also supercede #1149
Thanks for fixing this!! |
I’m still seeing this issue after updating to 17.0.0 this morning using joe in ENG-Mac-569 in ~
❯ atuin --version
atuin 17.0.0
joe in ENG-Mac-569 in ~
❯ bash --version
GNU bash, version 5.2.15(1)-release (aarch64-apple-darwin22.1.0)
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Any help is appreciated and happy to test anything! |
I realised I wasn’t using |
In a fresh terminal on my machine
note in the last step the way that up arrow completed to
cat ~/.inputrc
. Now I can continue my session<ctrl-r>
(successfully brings up atuin graphical search pretty)<esc>
(successfully drops me back to a terminal)I would like the last step above to complete to
cat ~/.inputrc
notecho oh no
.I am running atuin with the following startup sequence:
The text was updated successfully, but these errors were encountered: