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:
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.
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:
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:
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.