Skip to content

[Bug]: Up-key binding not working with Atuin 18.5.0 / fish 4.0 in some terminal emulators like Ghostty #2718

New issue

Have a question about this project? No Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “No 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? No Sign in to your account

Open
1 task done
pbek opened this issue Apr 24, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@pbek
Copy link

pbek commented Apr 24, 2025

What did you expect to happen?

When pressing Up the glorious Atuin history should appear in the terminal emulator Ghostty 1.1.3 or Kitty 0.41.1 on Linux.

In Atuin 18.4.0 with the fish 4.0 patch, this was working great on NixOS with fish 4.0. After updating to Atuin 18.5.0 it stopped working.
Funny thing is it is still working in Konsole 25.04.0 or xterm with Atuin 18.5.0!

What happened?

Up-Key just puts the previous command in the prompt.
Ctrl + R is still showing the Atuin history.
The "up" bindings are still present in fish.

bind | rg atuin
bind ctrl-r _atuin_search
bind -M insert ctrl-r _atuin_search
bind \eOA _atuin_bind_up
bind \e\[A _atuin_bind_up
bind -M insert -k up _atuin_bind_up
bind -M insert \eOA _atuin_bind_up
bind -M insert \e\[A _atuin_bind_up

Atuin doctor output

{
  "atuin": {
    "version": "18.5.0",
    "sync": {
      "cloud": false,
      "records": true,
      "auto_sync": true,
      "last_sync": "2025-04-24 9:42:46.782123328 +00:00:00"
    },
    "sqlite_version": "3.46.0"
  },
  "shell": {
    "name": "fish",
    "default": "fish",
    "plugins": [
      "atuin"
    ],
    "preexec": "built-in"
  },
  "system": {
    "os": "NixOS",
    "arch": "x86_64",
    "version": "25.05",
    "disks": [
      {
        "name": "zroot/root",
        "filesystem": "zfs"
      },
      {
        "name": "zroot/root/nix",
        "filesystem": "zfs"
      },
      {
        "name": "zroot/root/nix",
        "filesystem": "zfs"
      },
      {
        "name": "zroot/root/home",
        "filesystem": "zfs"
      },
      {
        "name": "/dev/nvme0n1p1",
        "filesystem": "vfat"
      },
      {
        "name": "/dev/sdc3",
        "filesystem": "ext4"
      }
    ]
  }
}

Code of Conduct

  • I agree to follow this project's Code of Conduct
@pbek pbek added the bug Something isn't working label Apr 24, 2025
@pbek pbek changed the title [Bug]: Up-key bidning not working with Atuin 18.5.0 / fish 4.0 in some terminal emulators [Bug]: Up-key binding not working with Atuin 18.5.0 / fish 4.0 in some terminal emulators like Ghostty Apr 24, 2025
No Sign up for free to join this conversation on GitHub. Already have an account? No Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant