class

CRE::Tui::Renderer

Inherits Reference < Object

Renderer paints the four-panel TUI to a target IO. Decoupled from terminal ownership so it can render to STDOUT in production or to IO::Memory in tests for assertion.

Constants

HEADER = "Credential Rotation Enforcer"
PANEL_BL = "└"
PANEL_BR = "┘"
PANEL_HR = "─"
PANEL_LMID = "├"
PANEL_RMID = "┤"
PANEL_TL = "┌"
PANEL_TR = "┐"
PANEL_VL = "│"
WIDTH = 64

Constructors

new(state : State, io : IO = STDOUT, use_color : Bool = true)
Source

Instance methods

render
Source