Conditionally render a child component by terminal size
tuiShowIf.RdWraps a single child component and shows it only when terminal dimensions satisfy the specified constraints. This is useful for responsive breakpoints (for example, hiding secondary panels on narrow terminals) while keeping a declarative static UI tree.
Usage
tuiShowIf(
child,
minTerminalWidth = NULL,
maxTerminalWidth = NULL,
minTerminalHeight = NULL,
maxTerminalHeight = NULL
)