[−][src]Function rawcmd_utils::trucate_text
pub fn trucate_text(
txt: &str,
width: usize,
align: &Alignment,
tail: &str
) -> String
Truncates a string to a certain number of characters.
pub fn trucate_text(
txt: &str,
width: usize,
align: &Alignment,
tail: &str
) -> String
Truncates a string to a certain number of characters.