Function replace_termcodes

Source
pub fn replace_termcodes<Input>(
    str: Input,
    from_part: bool,
    do_lt: bool,
    special: bool,
) -> String
where Input: Into<String>,
Expand description

Binding to nvim_replace_termcodes.

Replaces terminal codes and keycodes (<CR>, <Esc>, …) in a string with the internal representation.