mtm icon indicating copy to clipboard operation
mtm copied to clipboard

Garbled colors in Kakoune

Open nonk123 opened this issue 11 months ago • 1 comments

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.

nonk123 avatar Mar 08 '24 20:03 nonk123

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

Dan-C-Reed avatar May 26 '24 00:05 Dan-C-Reed