Skip to main content

truncate_output_preview

Function truncate_output_preview 

Source
pub fn truncate_output_preview(
    text: &str,
    max_lines: usize,
    max_bytes: usize,
) -> String
Expand description

Format a string as a truncated preview for tool output display.