To: vim_dev@googlegroups.com Subject: Patch 8.2.2548 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.2548 Problem: May get stuck in the cmdline window using :normal. Solution: Have nv_esc() return K_IGNORE. Files: src/normal.c *** ../vim-8.2.2547/src/normal.c 2021-02-23 19:31:58.727700140 +0100 --- src/normal.c 2021-02-23 19:25:07.993462076 +0100 *************** *** 6944,6949 **** --- 6944,6959 ---- } #endif } + #ifdef FEAT_CMDWIN + else if (cmdwin_type != 0 && ex_normal_busy) + { + // When :normal runs out of characters while in the command line window + // vgetorpeek() will return ESC. Exit the cmdline window to break the + // loop. + cmdwin_result = K_IGNORE; + return; + } + #endif if (VIsual_active) { *** ../vim-8.2.2547/src/version.c 2021-02-23 19:31:58.727700140 +0100 --- src/version.c 2021-02-23 19:38:40.237995741 +0100 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 2548, /**/ -- Shaw's Principle: Build a system that even a fool can use, and only a fool will want to use it. /// 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 ///