smelt.ui¶
Tier: UiHost - Requires a terminal UI; calling these from headless mode raises.
Visibility: Public - Stable Lua API intended for user config and plugins.
Screen-composition primitives: main layout composer and per-window renderer registration.
smelt.ui.size¶
Types: smelt.ui.Size
Return the current terminal size as { width, height } in cells. Useful for choosing between compact and wide overlay layouts without relying on any particular window's current rect.