From a2a8973e51a0052bb52e43a2b22e7ecdecc32003 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 31 Aug 2022 14:46:18 +0100 Subject: patch 9.0.0340: the 'cmdheight' zero support causes too much trouble Problem: The 'cmdheight' zero support causes too much trouble. Solution: Revert support for 'cmdheight' being zero. --- src/getchar.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/getchar.c') diff --git a/src/getchar.c b/src/getchar.c index b598997dc8..fee9191ba0 100644 --- a/src/getchar.c +++ b/src/getchar.c @@ -2096,10 +2096,6 @@ getchar_common(typval_T *argvars, typval_T *rettv) --no_mapping; --allow_keys; - // redraw the screen after getchar() - if (p_ch == 0) - update_screen(UPD_NOT_VALID); - set_vim_var_nr(VV_MOUSE_WIN, 0); set_vim_var_nr(VV_MOUSE_WINID, 0); set_vim_var_nr(VV_MOUSE_LNUM, 0); -- cgit v1.2.3