-
-
Notifications
You must be signed in to change notification settings - Fork 565
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
After using atuin interactively, home key stops working in the shell #650
Comments
Does invoking /usr/bin/reset fix the issue? |
No it does not. As a matter of fact, End key doesn't work either. |
I noticed the same issue and just noticed it's because of atuin. For me calling /usr/bin/reset does fix the issue though. It only helps until the next usage of atuin though. While not working, Home prints "H" and End prints "F". Edit: some more information: Edit2:
|
This seems to work as well (seen https://zsh.sourceforge.io/FAQ/zshfaq03.html in Section 3.8). |
I am also seeing this problem. For me I think it also explains why |
I actually just noticed the linked FAQ mentions I'm able to reproduce the issue using the original ( |
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
When I first open my terminal (terminator, gnome terminal, xterm), home key works as intended. However, after going interactive on Atuin and exit out, home key stop working (the cursor doesn't go to the beginning of the line)
The text was updated successfully, but these errors were encountered: