From 135b410607f008d3709a7b1374f3f37924eb9fe4 Mon Sep 17 00:00:00 2001 From: Sam Bingner Date: Fri, 3 Aug 2018 15:06:38 -1000 Subject: Update vim --- data/vim/patches/8.1.0158 | 52 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 data/vim/patches/8.1.0158 (limited to 'data/vim/patches/8.1.0158') diff --git a/data/vim/patches/8.1.0158 b/data/vim/patches/8.1.0158 new file mode 100644 index 000000000..878bf2e15 --- /dev/null +++ b/data/vim/patches/8.1.0158 @@ -0,0 +1,52 @@ +To: vim_dev@googlegroups.com +Subject: Patch 8.1.0158 +Fcc: outbox +From: Bram Moolenaar +Mime-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit +------------ + +Patch 8.1.0158 +Problem: GUI: input() fails if CTRL-C was pressed before. (Michael Naumann) +Solution: call vpeekc() to drop the CTRL-C from the input stream. +Files: src/ex_docmd.c + + +*** ../vim-8.1.0157/src/ex_docmd.c 2018-07-04 22:26:24.515946368 +0200 +--- src/ex_docmd.c 2018-07-07 16:11:37.571323580 +0200 +*************** +*** 9157,9162 **** +--- 9157,9167 ---- + parse_queued_messages(); + #endif + } ++ ++ // If CTRL-C was typed to interrupt the sleep, drop the CTRL-C from the ++ // input buffer, otherwise a following call to input() fails. ++ if (got_int) ++ (void)vpeekc(); + } + + static void +*** ../vim-8.1.0157/src/version.c 2018-07-06 23:11:35.484671649 +0200 +--- src/version.c 2018-07-07 16:12:59.190883016 +0200 +*************** +*** 791,792 **** +--- 791,794 ---- + { /* Add new patch number below this line */ ++ /**/ ++ 158, + /**/ + +-- +Some of the well known MS-Windows errors: + EMULTI Multitasking attempted, system confused + EKEYBOARD Keyboard locked, try getting out of this one! + EXPLAIN Unexplained error, please tell us what happened + EFUTURE Reserved for our future mistakes + + /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ +/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ +\\\ an exciting new programming language -- http://www.Zimbu.org /// + \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- cgit v1.2.3