Function nu_ansi_term::sub_string
source ยท pub fn sub_string(
start: usize,
len: usize,
strs: &AnsiStrings<'_>,
) -> Vec<AnsiString<'static>>
Expand description
Return a substring of the given AnsiStrings sequence, while keeping the formatting.