Cri::Tui::Workspace
A workspace owns panels, focus and layout state. Buffers are owned by UiRuntime and are referenced by panels through buffer_id.
Constructors
Instance methods
add_panel(id : String, buffer_id : String, title : String, position : String = "right", focused : Bool = false, prompt : String = "", editable : Bool = true) : Panel
Sourcebuffer_exists
Sourceevents
Sourcefocus_direction(direction : String)
Directional focus for the current main/right/bottom layout. Bottom panels are ordinary focusable views; only their geometry is special.
focus_next
Sourcefocused_panel_id
Sourceid
Sourcepanels
Sourcestatus
Source