aaronjanse / 3mux

Terminal multiplexer inspired by i3
MIT License
1.82k stars 45 forks source link

Graphical glitches with Kakoune and ncurses #107

Open mogenson opened 3 years ago

mogenson commented 3 years ago

Hi. Thanks for the great tool! I'm testing the latest version via go get.

I've noticed some graphical glitches with the Kakoune text editor. These include foreground colors missing from blank spaces, text not being cleared after scrolling, and text positioning being off after resizing the window.

I'm using the kak -n command to disable any plugins or user configuration.

I know kak relies on the ncurses library to perform terminal rendering. I also tried an ncurses based program that I made myself. It shows some of these same glitches. Note: vim works fine in 3mux but does not use ncurses.

Are there any other things I can test around kak or ncurses to provide additional information?

kak-scroll

kak-3mux

aaronjanse commented 3 years ago

Thank you for the fantastic bug report @mogenson!

We've merged a few PRs to fix 3mux rendering issues that are obvious in Kakoune:

I fell deep down the rabbit hole of Kakoune last night. It's pretty cool. I installed kak-lsp, and language server stuff... just worked?!?! It's pretty cool!

I'm keeping this issue open for now because I imagine we'll find more related 3mux bugs in the feature

mogenson commented 3 years ago

Thanks for the fixes! Just tried out the master branch and it looks like everything is working well! Also, glad you like the editor. :)