aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-05-19 23:30:19 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-05-19 23:35:28 -0400
commit7ea350456d6b2f9c92f3dcf6feb7daa3e0abc079 (patch)
tree72cf74ab0373fc59b9d09605248bc1d66ceec36c /src
parent91c1737de67b0e3384fd69a6059b2c7b54690432 (diff)
downloadrneovim-7ea350456d6b2f9c92f3dcf6feb7daa3e0abc079.tar.gz
rneovim-7ea350456d6b2f9c92f3dcf6feb7daa3e0abc079.tar.bz2
rneovim-7ea350456d6b2f9c92f3dcf6feb7daa3e0abc079.zip
vim-patch:8.1.1358: cannot enter character with a CSI byte
Problem: Cannot enter character with a CSI byte. Solution: Only check "gui.in_use" when VIMDLL is defined. (Ken Takata, closes vim/vim#4396) https://github.com/vim/vim/commit/386b43e59498cc7b52a60f09f74bdb44df99386c
Diffstat (limited to 'src')
-rw-r--r--src/nvim/getchar.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c
index f8c7dc613b..ec14803a2e 100644
--- a/src/nvim/getchar.c
+++ b/src/nvim/getchar.c
@@ -1287,9 +1287,9 @@ openscript (
oldcurscript = curscript;
do {
- update_topline_cursor(); /* update cursor position and topline */
- normal_cmd(&oa, FALSE); /* execute one command */
- vpeekc(); /* check for end of file */
+ update_topline_cursor(); // update cursor position and topline
+ normal_cmd(&oa, false); // execute one command
+ vpeekc(); // check for end of file
} while (scriptin[oldcurscript] != NULL);
State = save_State;