diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-03-14 11:49:46 +0100 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2023-03-14 13:37:43 +0100 |
commit | d6ecead36406233cc56353dd05f3380f0497630f (patch) | |
tree | 6adad28d9a446e422f114d285107595c563760a8 /src/nvim/ex_cmds.c | |
parent | ef31444cccdd93f515a8b7a968268cb04e680370 (diff) | |
download | rneovim-d6ecead36406233cc56353dd05f3380f0497630f.tar.gz rneovim-d6ecead36406233cc56353dd05f3380f0497630f.tar.bz2 rneovim-d6ecead36406233cc56353dd05f3380f0497630f.zip |
refactor(screen): screen.c delenda est
drawscreen.c vs screen.c makes absolutely no sense.
The screen exists only to draw upon it, therefore helper functions
are distributed randomly between screen.c and the file that
does the redrawing. In addition screen.c does a lot of drawing on the
screen.
It made more sense for vim/vim as our grid.c is their screen.c
Not sure if we want to dump all the code for option chars into
optionstr.c, so keep these in a optionchar.c for now.
Diffstat (limited to 'src/nvim/ex_cmds.c')
-rw-r--r-- | src/nvim/ex_cmds.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/ex_cmds.c b/src/nvim/ex_cmds.c index d398d3e06e..ac3c8c4f8e 100644 --- a/src/nvim/ex_cmds.c +++ b/src/nvim/ex_cmds.c @@ -77,7 +77,6 @@ #include "nvim/profile.h" #include "nvim/quickfix.h" #include "nvim/regexp.h" -#include "nvim/screen.h" #include "nvim/search.h" #include "nvim/spell.h" #include "nvim/strings.h" @@ -2658,7 +2657,7 @@ int do_ecmd(int fnum, char *ffname, char *sfname, exarg_T *eap, linenr_T newlnum msg_scroll = false; } if (!msg_scroll) { // wait a bit when overwriting an error msg - check_for_delay(false); + msg_check_for_delay(false); } msg_start(); msg_scroll = msg_scroll_save; |