Cresium::DigitDisplay
Inherits Tui::Widget < Tui::Reactive < Reference < Object
Renders a string (time or input) as ASCII art via Digits, centered in
its rect, with an optional character highlighted (cursor_index).
Instance methods
cursor_index
Index (in text) of the character to render as a blinking cursor
(reversed style), or nil to show no cursor.
Moves (or clears) the blinking cursor highlight; no-op if unchanged.
Switches between the small and large glyph sets; no-op if unchanged.
large?
Renders with Digits::LARGE_GLYPHS (7 lines) instead of the default
small set (4 lines, block octants) when true.
Draws the ASCII-art glyphs for text, centered in the widget's rect.
style
Sourcestyle=(style : Tui::Style)
Sourcetext
Source