atuin icon indicating copy to clipboard operation
atuin copied to clipboard

GNU screen requires altscreen enabled

Open bradrf opened this issue 4 years ago • 4 comments

As noted in the tui-rs issues, when running atuin under GNU screen, repainting will fail and overlay the atuin windowing over whatever text is already on the terminal's output (see video attached below).

There's a simple workaround to enable screen's altscreen (just add it to your .screenrc file). If others run into this, atuin might consider producing some kind of warning (if you run into this, please :+1: this post to let atuin folks know it's a broader problem than just one person).

https://user-images.githubusercontent.com/295715/164484861-88ea359c-ad98-4943-920f-3d95311e9468.mp4

bradrf avatar Apr 21 '22 14:04 bradrf

Not running screen but tmux has the same behavior. It would be nice if altscreen/alternate-screen was not required to be on as for some programs like man , less etc. I do want the last command output to remain on the screen after they exit.

junkblocker avatar Jul 08 '22 14:07 junkblocker