Skip to main content

render_text

Function render_text 

Source
pub fn render_text(text: &StyledText, settings: &RenderSettings) -> String
Expand description

Serializes styled source text without resolving terminal-cell layout.

Tabs and line boundaries are written as authored. Callers choosing this path accept the destination terminal’s tab-stop behavior; use a View and render when width, wrapping, alignment, or backend geometry matters.