[][src]Function rawcmd_utils::size_text

pub fn size_text(txt: &str) -> usize

Calculates the length of a unicode string containing ANSI codes. The length returned represents the visible string length.