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]: altscreen not working on latest release #2551

Closed
1 task done
r-vdp opened this issue Jan 18, 2025 · 4 comments
Closed
1 task done

[Bug]: altscreen not working on latest release #2551

r-vdp opened this issue Jan 18, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@r-vdp
Copy link
Contributor

r-vdp commented Jan 18, 2025

What did you expect to happen?

With the full layout, my terminal used to remain fully visible after exiting atuin, since atuin would draw on the altscreen and not on the main view.
On the latest release however, the terminal viewport always gets cleared.

I usually use alacritty with zellij and fish, but I also tested in foot, without zellij, running bash, and got the same behaviour.

What happened?

My terminal viewport gets cleared after every atuin history search.

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": {
      "cloud": true,
      "records": true,
      "auto_sync": true,
      "last_sync": "2025-01-18 12:35:37.215384305 +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": "overlay",
        "filesystem": "overlay"
      },
      {
        "name": "/dev/mapper/volgroup-nixos",
        "filesystem": "btrfs"
      },
      {
        "name": "/dev/nvme0n1p1",
        "filesystem": "vfat"
      }
    ]
  }
}

Code of Conduct

  • I agree to follow this project's Code of Conduct
@r-vdp r-vdp added the bug Something isn't working label Jan 18, 2025
@davidsonff
Copy link

I have the same issue.

@elikoga
Copy link

elikoga commented Jan 23, 2025

I can confirm this is introduced in 18.4.0 and 18.3.0 does not have this behaviour. I have downgraded to 18.4.0 for me.

@ellie
Copy link
Member

ellie commented Jan 23, 2025

This is intended behaviour and is a default config change - we called it out in the release notes, but you can also read more here #2249

You can revert it with

style = "full"
inline_height = 0

in your config

@ellie ellie closed this as completed Jan 23, 2025
@r-vdp
Copy link
Contributor Author

r-vdp commented Jan 23, 2025

Ah, I missed that the inline_height setting is the one that determines whether the alt screen gets used.

Sorry for the noise, it's working beautifully now!

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

4 participants