Skip to main content

Module output_render

Module output_render 

Source
Expand description

Converts the OutputLine buffer into ratatui [Line]s for rendering.

ValidInput lines are intentionally filtered out - they exist only for :save and are never shown in the output area.

Result lines run through highlight first; if the highlighter returns only red or white spans (i.e. plain text, not code), the line is rendered as plain green instead.

Functionsยง

render_output
Converts the output buffer into a list of styled ratatui lines ready to render.