pub const fn is_control_character(c: char) -> boolExpand description
Returns true if c is a control character that could affect terminal state.
This checks for both C0 (U+0000..=U+001F) and C1 (U+0080..=U+009F) control codes as well as DEL (U+007F).