Vitapi (it started as an acronym) is a lightweight, easy to use, and above all, simple alternative to ncurses, without the legacy support, and without complex features. It targets mostly modern xterm capabilities, supports 256 colors, the mouse, and a nice powerful color model. It provides a C API, for maximum utility.


Vitapi provides a C API that offers these capabilities:

  • Off-screen buffering of output
  • Ability to place colored text anywhere on a screen
  • Primitive support - colored rectangles
  • Mouse input
  • Keyboard input - function keys, ctrl, shift etc
  • 256-color support
  • Color combination (weak blending)
  • Several color addressing schemes
  • Conversion between 256, 16 and 8 colors
  • Terminal width/height determination
  • Fast and portable