Skip to main content

Module mode

Module mode 

Source
Expand description

Render mode auto-detection (Section 16.3).

Determines the appropriate rendering mode based on:

  • TTY detection: non-TTY (pipe/redirect) forces stream mode.
  • Terminal size: < 80 cols or < 24 rows forces stream mode.
  • CLI flags: --stream or --tui override auto-detection.

Structs§

TerminalInfo
Terminal capability information used for mode detection.

Enums§

RenderMode
Rendering mode for the CLI output.
RenderModeError
Errors from render mode selection.
TerminalColorSupport

Functions§

select_render_mode
Select the render mode based on terminal info and CLI flags.