Documentation
¶
Index ¶
Constants ¶
const ( PaneActions = "actions" PaneValidation = "validation" )
const PaneField = "tui.pane"
Variables ¶
This section is empty.
Functions ¶
func ActionsLogger ¶
ActionsLogger returns a logger whose output routes to the actions pane when TUI is active. When TUI is not active, returns a plain logger without the routing field.
func RunTUI ¶
RunTUI starts the TUI and returns a Program handle. The caller should run the exec loop in a goroutine, sending iterationMsg and execDoneMsg via program.Send(). The logrus hook is installed automatically. When the TUI exits, active is set to false and logrus output is restored.
func SendIteration ¶
SendIteration sends an iteration update to the TUI program.
func ValidationLogger ¶
ValidationLogger returns a logger whose output routes to the validation pane when TUI is active. When TUI is not active, returns a plain logger without the routing field.
Types ¶
This section is empty.