mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 07:16:09 +00:00
Add Boolean argument escape_csi to vim_feedkeys
- By default vim_feedkeys escaped all input for CSI/K_SPECIAL bytes before using it. However since vim_replace_termcodes() also escapes the input string chaining these functions together escapes input twice - vim_feedkeys() now takes a third Boolean argument to enable/disable escaping - Breaks API compatibility
This commit is contained in:

committed by
Thiago de Arruda

parent
a6b7b92431
commit
e644369f6e
@@ -8414,7 +8414,7 @@ static void f_feedkeys(typval_T *argvars, typval_T *rettv)
|
||||
}
|
||||
|
||||
vim_feedkeys(cstr_as_string((char *)keys),
|
||||
cstr_as_string((char *)flags));
|
||||
cstr_as_string((char *)flags), true);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user