🐛 alternate screen buffer doesn't work using NuShell
- Dominant language
- Rust
- Stars
- 32.2k
- Forks
- 572
- Avg merge
- 11m
- Merged PRs (30d)
- 1
Description
I've noticed that in NuShell when I scroll using my mouse that Delta wasn't scrolling, but rather the entire terminal itself.
Going back to Zsh, I found out that the scroll works again. The difference is that in Zsh the alternate screen buffer was enabled, while in NuShell it wasn't.
This isn't a problem in other applications. `man` and Bat work fine, just Delta has this issue (as far as I know).
Contributor guide
Research direction
The issue names no files or tests. First reproduce mouse scrolling in Delta under NuShell, then compare the terminal behavior with Zsh and with `man` or Bat; investigate where Delta enters or relies on the alternate screen buffer. Done means scrolling in NuShell moves through Delta's output rather than the whole terminal, without regressing the working shells.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, zsh
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100