module

Fluxion::TUI::Theme

Colours and glyphs for the terminal UI.

Kept in one place so a status means the same thing on every screen: the selector's checkmark and the execution screen's are the same green, and a failure is the same red in both.

Instance methods

base
Source
failure
Source
frame(buffer : CryTUI::Buffer, area : CryTUI::Rect, label : String, style : CryTUI::Style = dim) : CryTUI::Rect

Box drawing, so a panel is described once.

Source
heading
Source
hint
Source
line(buffer : CryTUI::Buffer, area : CryTUI::Rect, row : Int32, text : String, style : CryTUI::Style = base) : Nil

Writes a line clipped to the area, so long content never wraps into the frame it sits inside.

Source
running
Source
selected
Source
success
Source
title
Source
warning
Source