Skip to main content

preview_full_command

Function preview_full_command 

Source
pub fn preview_full_command(command: &str) -> String
Expand description

Full-length variant of preview_command for transcript surfaces.

Keeps the first-line selection and script-runner prefix folding (so python3 -c " still pulls in script content) but applies no length cap: the selected line shows in full, with viewport-aware wrapping owning the overflow instead of a … truncation.