Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source
Module Mosaic_ui.Box
Bordered container with background fill and optional title.
Bordered container with background fill and optional title.
A box wraps a Renderable.t with border drawing, background filling, and child clipping. Each active border side consumes one terminal cell in layout; children are clipped to the content area inside borders.
set_border_color t color sets the unfocused border color. Auto-enables borders.
val set_focused_border_color : t->Ansi.Color.t option-> unit
set_focused_border_color t color sets the border color used when t has focus. None falls back to the unfocused color. Some _ auto-enables borders. Only triggers a re-render when t is focused.