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

[Bug]: Atuin eats last line from terminal #2575

Open
1 task done
rad83 opened this issue Feb 6, 2025 · 2 comments
Open
1 task done

[Bug]: Atuin eats last line from terminal #2575

rad83 opened this issue Feb 6, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@rad83
Copy link

rad83 commented Feb 6, 2025

What did you expect to happen?

I am expecting Atuin not to hiding any output on the terminal.

What happened?

After selecting command from history (either to run or edit it), when TUI disappears, the terminal shifts one line up thus covering such line. Such behavior happens only if the path is long enough. It may be relevant that I use fish shell and powerline.

The image bellow shows such behavior. The Atuin is invoked by pressing arrow up (between frames 2 and 3), next tab key is pressed to select the command (between frames 3 and 4).

Image

Atuin doctor output

Atuin Doctor
Checking for diagnostics


Please include the output below with any bug reports or issues

{
  "atuin": {
    "version": "18.4.0",
    "sync": null,
    "sqlite_version": "3.46.0"
  },
  "shell": {
    "name": "fish",
    "default": "bash",
    "plugins": [
      "atuin"
    ],
    "preexec": "built-in"
  },
  "system": {
    "os": "Arch Linux",
    "arch": "x86_64",
    "version": "unknown",
    "disks": [
      {
        "name": "/dev/nvme0n1p3",
        "filesystem": "ext4"
      },
      {
        "name": "/dev/nvme0n1p4",
        "filesystem": "ext4"
      },
      {
        "name": "/dev/nvme0n1p1",
        "filesystem": "vfat"
      },
      {
        "name": "/dev/loop0",
        "filesystem": "ext4"
      }
    ]
  }
}

Code of Conduct

  • I agree to follow this project's Code of Conduct
@rad83 rad83 added the bug Something isn't working label Feb 6, 2025
@devurandom
Copy link

devurandom commented Feb 11, 2025

When I type ls ./some/dir in nushell setup for atuin, running in rio, the output (6 lines total, incl. headers) of ls briefly pops up and then is gone again and "replaced" by the next prompt.

{
  "atuin": {
    "version": "18.4.0",
    "sync": null,
    "sqlite_version": "3.46.0"
  },
  "shell": {
    "name": "nu",
    "default": "bash",
    "plugins": [],
    "preexec": null
  },
  "system": {
    "os": "NixOS",
    "arch": "x86_64",
    "version": "25.05",
    "disks": [
      {
        "name": "/dev/mapper/system",
        "filesystem": "btrfs"
      },
      {
        "name": "/dev/mapper/system",
        "filesystem": "btrfs"
      },
      {
        "name": "/dev/nvme0n1p2",
        "filesystem": "vfat"
      }
    ]
  }
}

@RespiteSage
Copy link

RespiteSage commented Feb 13, 2025

Encountering this as well, on two different machines (in the middle of transitioning to a newer machine):

{
  "atuin": {
    "version": "18.4.0",
    "sync": null,
    "sqlite_version": "3.46.0"
  },
  "shell": {
    "name": "bash",
    "default": "bash",
    "plugins": [
      "atuin",
      "bash-preexec"
    ],
    "preexec": "bash-preexec"
  },
  "system": {
    "os": "Ubuntu",
    "arch": "x86_64",
    "version": "24.04",
    "disks": [
      {
        "name": "/dev/nvme1n1p2",
        "filesystem": "ext4"
      },
      {
        "name": "/dev/nvme1n1p1",
        "filesystem": "vfat"
      }
    ]
  }
}
{
  "atuin": {
    "version": "18.4.0",
    "sync": null,
    "sqlite_version": "3.46.0"
  },
  "shell": {
    "name": "bash",
    "default": "bash",
    "plugins": [
      "atuin",
      "bash-preexec"
    ],
    "preexec": null
  },
  "system": {
    "os": "Ubuntu",
    "arch": "x86_64",
    "version": "22.04",
    "disks": [
      {
        "name": "/dev/nvme0n1p4",
        "filesystem": "ext4"
      },
      {
        "name": "/dev/nvme0n1p4",
        "filesystem": "ext4"
      },
      {
        "name": "/dev/sda11",
        "filesystem": "ext4"
      },
      {
        "name": "/dev/nvme0n1p3",
        "filesystem": "ext4"
      },
      {
        "name": "/dev/nvme0n1p5",
        "filesystem": "ext4"
      },
      {
        "name": "/dev/nvme0n1p1",
        "filesystem": "vfat"
      },
      {
        "name": "/dev/nvme0n1p4",
        "filesystem": "ext4"
      },
      {
        "name": "/dev/nvme0n1p4",
        "filesystem": "ext4"
      },
      {
        "name": "/dev/nvme0n1p4",
        "filesystem": "ext4"
      }
    ]
  }
}

Edit: I installed 18.3.0 and confirmed that this behavior isn't occurring in that version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants