pub fn replace_termcodes<Input>(
str: Input,
from_part: bool,
do_lt: bool,
special: bool,
) -> String
Expand description
Binding to nvim_replace_termcodes
.
Replaces terminal codes and keycodes (<CR>
, <Esc>
, …) in a string
with the internal representation.