pub fn truncate_left(s: &str, length: usize, prefix: &str) -> StringExpand description
Truncate s from the left until at most length display columns remain.
If truncation occurs, prefix is prepended after any leading escape sequences needed to preserve active terminal state.