Renderer
Cell buffer + diff rendering for fast screen updates with minimal terminal churn.
Termisu gives you a double-buffer renderer, event pipeline, timers, colors, and input modes without heavy framework overhead.
Cell buffer + diff rendering for fast screen updates with minimal terminal churn.
Unified key, mouse, resize, timer, and mode-change events in one loop.
Switch modes safely with block based wrappers.
Runs cleanly on macOS, Linux, and BSD terminals.
Small API surface focused on speed and predictable behavior.
Pure Crystal core with no runtime dependency chain to manage.
dependencies:
termisu:
github: omarluq/termisu
shards install
require "termisu"
termisu = Termisu.new
begin
termisu.set_cell(0, 0, 'T', fg: Termisu::Color.bright_green)
termisu.set_cell(1, 0, 'U', fg: Termisu::Color.bright_cyan)
termisu.set_cell(2, 0, 'I', fg: Termisu::Color.bright_blue)
termisu.render
ensure
termisu.close
end
Search titles and content. Press / to open and Esc to close.