jarun / nnn

n³ The unorthodox terminal file manager
BSD 2-Clause "Simplified" License
18.49k stars 743 forks source link

The preview pane sometimes does not repaint when using kitty #1907

Closed Giessen closed 1 day ago

Giessen commented 4 days ago

Exact steps to reproduce the issue

1.launch kitty: kitty --detach -1 --hold /bin/zsh 2.run nnn: NNN_PLUG='i:preview-tui' nnn -a -i -Pi 3.browse with up/down arrow keys At somewhat 1/5 chance, the splitted preview pane refuses to refresh. If I move mouse cursor, suddenly it refreshes. I also tried building kitty from source, still no luck. Any ideas please. Thanks.

Giessen commented 4 days ago

I found this happens on dual monitor case when using kitty. Working good on external monitor only. Tmux works normally on both monitors. It's a little bit wierd.

KlzXS commented 3 days ago

Since this is WSL and depends on which monitor it's on I'd say this isn't for us.

Take a look at previous issues to see if someone had a similar problem. If not, go check if there is anything on kitty. You are pretty much on your own.

Giessen commented 3 days ago

Thanks a lot for the advice.