To: vim_dev@googlegroups.com Subject: Patch 7.4.1876 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 7.4.1876 Problem: Typing "k" at the hit-enter prompt has no effect. Solution: Don't assume recursive use of the prompt if a character was typed. (Hirohito Higashi) Files: src/message.c *** ../vim-7.4.1875/src/message.c 2016-04-14 19:44:33.100277777 +0200 --- src/message.c 2016-06-02 18:25:35.612466571 +0200 *************** *** 2475,2483 **** int i; /* We get called recursively when a timer callback outputs a message. In ! * that case don't show another prompt. Also when at the hit-Enter prompt. ! */ ! if (entered || State == HITRETURN) return FALSE; entered = TRUE; --- 2475,2483 ---- int i; /* We get called recursively when a timer callback outputs a message. In ! * that case don't show another prompt. Also when at the hit-Enter prompt ! * and nothing was typed. */ ! if (entered || (State == HITRETURN && typed_char == 0)) return FALSE; entered = TRUE; *** ../vim-7.4.1875/src/version.c 2016-06-02 17:46:16.248499026 +0200 --- src/version.c 2016-06-02 18:26:58.456465432 +0200 *************** *** 755,756 **** --- 755,758 ---- { /* Add new patch number below this line */ + /**/ + 1876, /**/ -- He who laughs last, thinks slowest. /// 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 ///