-
-
Notifications
You must be signed in to change notification settings - Fork 614
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
[Bug]: Alt-n does not work after invoking atuin in Ghostty terminal (Fine with Kitty) #2611
Comments
@seungjin which version of fish are you using? |
Have reproduced under fish v3.7.1 and fish v4.0.0 on Linux Ghostty v1.1.2, also atuin v18.4.0. Other shells e.g. bash are also affected. No problems with the macOS build of Ghostty v1.1.2 running fish v3.7.0 or fish v4.0.0 either directly on my Mac or via ssh to Linux boxes with either fish version. The issue seems specific to Ghostty on Linux with any shell and atuin. A workaround is to set |
Ghostty prints nothing. Turns out Ghostty maps alt+numbers onto its own tab switcher (e.g. alt+3 moves to the third tab, if present, on Linux). This also affects other CLI tools like tmux, the solution is here: ghostty-org/ghostty#6084 (comment) So either add the following to ~/.config/ghostty/config:
to preserve the default atuin behaviour (and lose the ability to switch tabs using alt+number)
Since ghostty sets |
I've opened atuinsh/docs#89 to address this issue. Once that is merged (if happy), I reckon the best place to give a warning is in the installer script and link to the updated docs. Most people who install via other means are more likely to read the docs (maybe I'm being a bit optimistic here) so I guess that's the best approach. |
Yes. Mine is fish, version 4.0.0 |
Oh.. In my case, I am running Tmux on Ghostty. |
If any of us simply use Ghostty as a very minimal terminal emulator, we can do this to ignore Ghostty catching the Ctrl-N keybinding: cat ~/.config/ghostty/config
|
Oh.. Ignore my above comment. Actually @matthewberryman wrote it to Doc. I wrote it before I read his work. |
What did you expect to happen?
Alt-n in Atuin Tui;
alt + 1 to alt + 9: Select item by the number located near it.
What happened?
Found that Alt-n in Atuin tui is not working on Ghostty terminal.
It works fine with Kitty though.
I am using Linux with Fish.
Atuin doctor output
Code of Conduct
The text was updated successfully, but these errors were encountered: