Mercurial > vim
comparison src/ex_docmd.c @ 22361:00f2eebe74d9 v8.2.1729
patch 8.2.1729: endless loop when ":normal" feeds popup window filter
Commit: https://github.com/vim/vim/commit/189832bf661168df7ebd428e4088737718775fbd
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Sep 23 12:29:11 2020 +0200
patch 8.2.1729: endless loop when ":normal" feeds popup window filter
Problem: Endless loop when ":normal" feeds popup window filter.
Solution: Add the ex_normal_busy_done flag.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 23 Sep 2020 12:30:04 +0200 |
parents | 2eaee3396f7a |
children | a9fb7efa31d6 |
comparison
equal
deleted
inserted
replaced
22360:d55224e63208 | 22361:00f2eebe74d9 |
---|---|
8028 // Might not return to the main loop when in an event handler. | 8028 // Might not return to the main loop when in an event handler. |
8029 update_topline_cursor(); | 8029 update_topline_cursor(); |
8030 | 8030 |
8031 restore_current_state(&save_state); | 8031 restore_current_state(&save_state); |
8032 --ex_normal_busy; | 8032 --ex_normal_busy; |
8033 #ifdef FEAT_PROP_POPUP | |
8034 if (ex_normal_busy == 0) | |
8035 ex_normal_busy_done = FALSE; | |
8036 #endif | |
8033 setmouse(); | 8037 setmouse(); |
8034 #ifdef CURSOR_SHAPE | 8038 #ifdef CURSOR_SHAPE |
8035 ui_cursor_shape(); // may show different cursor shape | 8039 ui_cursor_shape(); // may show different cursor shape |
8036 #endif | 8040 #endif |
8037 | 8041 |