deadpixi / mtm

Perhaps the smallest useful terminal multiplexer in the world.
1.08k stars 49 forks source link

Garbled colors in Kakoune #77

Open nonk123 opened 4 months ago

nonk123 commented 4 months ago

I wasn't sure where to report this (mtm or Kakoune), but this seems more like an mtm bug.

Whenever I open up Kakoune inside mtm, this is what the pane looks like:

image

Vim, Emacs, and htop look completely normal though. Kakoune is also fine under tmux, just not mtm.

I'm running Void Linux and mtm compiled with:

make HEADERS='-DNCURSESW_INCLUDE_H="<curses.h>"'

I also tried different terminal emulators (foot, Alacritty) and various TERM hacks (mtm -t mtm with the terminfo entry installed, mtm -t xterm-256color, mtm -t tmux-256color).

While everything points to mtm being at fault, Kakoune uses a custom ANSI-escape-sequence-based renderer, which could be causing issues.

Dan-C-Reed commented 1 month ago

@nonk123 - I see the same behaviour with Helix on Raspberry Pi OS. Similarly, no issues with tmux.