mirror of
https://github.com/neovim/neovim.git
synced 2025-12-09 08:02:38 +00:00
main: Extract normal_check from main_loop
The new function contains logic that must be executed after handling input in normal mode and also before the first main loop iteration. Also rename `main_loop` to `normal_enter` and move it to normal.c
This commit is contained in:
@@ -4943,7 +4943,7 @@ static int ex_window(void)
|
||||
* Call the main loop until <CR> or CTRL-C is typed.
|
||||
*/
|
||||
cmdwin_result = 0;
|
||||
main_loop(TRUE, FALSE);
|
||||
normal_enter(true, false);
|
||||
|
||||
RedrawingDisabled = i;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user