TUI - mawww/kakoune GitHub Wiki

To process input keys and display information to the terminal, Kakoune currently relies on ncurses.

Nevertheless, in the following cases Kakoune outputs raw ANSI escape codes (defined in ECMA-48) to stdout.

OSC - Operating System Command ESC ]

  • ESC ] 104 ; BEL to reset the palette

CSI - Control Sequence Introducer ESC [

  • ESC [ ? 1002 h to enable mouse position report
  • ESC [ ? 1004 h to enable focus events report
  • ESC [ ? 1002 l to disable mouse position report
  • ESC [ ? 1004 l to disable focus events report