Function ansi_term::sub_string

source ·
pub fn sub_string<'a>(
    start: usize,
    len: usize,
    strs: &ANSIStrings<'a>
) -> Vec<ANSIString<'static>>
Expand description

Return a substring of the given ANSIStrings sequence, while keeping the formatting.