Function display_width
Source pub fn display_width(s: &str) -> usize
Expand description
Calculates the width of the string when displayed in the terminal
§Arguments
s: Some string of which the display width will be calculated
§Returns
- The width of the input string when it is displayed in the terminal