From 7ea350456d6b2f9c92f3dcf6feb7daa3e0abc079 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sun, 19 May 2019 23:30:19 -0400 Subject: 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 --- src/nvim/getchar.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/nvim/getchar.c') 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; -- cgit