console
0.15.10
Structs
AnsiCodeIterator
Emoji
Style
StyledObject
Term
TermFeatures
Enums
Alignment
Attribute
Color
Key
TermFamily
TermTarget
Functions
colors_enabled
colors_enabled_stderr
measure_text_width
pad_str
pad_str_with
set_colors_enabled
set_colors_enabled_stderr
strip_ansi_codes
style
truncate_str
user_attended
user_attended_stderr
console
Function
measure_text_width
Copy item path
Settings
Help
Summary
Source
pub fn measure_text_width(s: &
str
) ->
usize
Expand description
Measure the width of a string in terminal characters.