Closed tmpm697 closed 2 years ago
Thanks for reporting this.
I won't be debugging this as I'm short on free time. If you find out the reason, please post an update.
This issue happens with every zsh-defer lines that I have in .zshrc
and other files, meaning when you have 1/2 zsh-defer in .zshrc
, start alacritty
or tmux
and immediatelly scroll up, empty prompt lines will appear.
It seems I can only produce this issue with tmux with the same zsh setup as alacritty.
OK. I'm still not going to debug this. Sorry.
I think this dues to tmux
, tried current 3.2a official and -git
on arch, both keep have empty prompt lines when start tmux
and did a scroll up. Not observe this issue on alacritty
.
I did try tmux -f /dev/null
and the issue still happens, so blame tmux
but what the issue, idk.
Tmux version
Power10k latest version till commit hash: 0b02654
Terminal:
If I load
zsh-autosuggestions.zsh
:source ./plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
, there're no multiple empty prompt lines.But if I do
zsh-defer source ./plugins/zsh-autosuggestions/zsh-autosuggestions.zsh
, there'll multiple empty prompt lines after issued commands, number of empty lines is arbitrary like below:I scroll up
tmux
oralacritty
to check those empty lines.