diff options
| author | Thiago de Arruda <tpadilha84@gmail.com> | 2015-10-04 09:36:34 -0300 |
|---|---|---|
| committer | Thiago de Arruda <tpadilha84@gmail.com> | 2015-10-26 10:52:01 -0300 |
| commit | dae006a942213f1c37ecfd20ac79d2f7fc462696 (patch) | |
| tree | 7bf10eef49daff7ce89a9f2d4357a8fc5e7692bd /src/nvim/ex_getln.c | |
| parent | e596234fc2fa056ef6ac9eb868bdfcdceba4af47 (diff) | |
| download | rneovim-dae006a942213f1c37ecfd20ac79d2f7fc462696.tar.gz rneovim-dae006a942213f1c37ecfd20ac79d2f7fc462696.tar.bz2 rneovim-dae006a942213f1c37ecfd20ac79d2f7fc462696.zip | |
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
Diffstat (limited to 'src/nvim/ex_getln.c')
| -rw-r--r-- | src/nvim/ex_getln.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index 50e9ce7c17..7b9fd1e61e 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -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; |
