diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2020-09-08 09:47:10 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2020-11-01 19:14:56 +0100 |
commit | c146eddc8b768f1cd395ea0ce54c19e64eff0c08 (patch) | |
tree | da1fe59768dcc60901da66b18d848b2d81b6e072 /src/nvim/mouse.c | |
parent | 037ffd54dcd8edba6787d93273e6696b7a366ac6 (diff) | |
download | rneovim-c146eddc8b768f1cd395ea0ce54c19e64eff0c08.tar.gz rneovim-c146eddc8b768f1cd395ea0ce54c19e64eff0c08.tar.bz2 rneovim-c146eddc8b768f1cd395ea0ce54c19e64eff0c08.zip |
api: add API for themes
co-author: hlpr98 <hlpr98@gmail.com> (dict2hlattrs function)
orange is sus??
NOVEMBER DAWN
erase the lie that is redraw_later()
Diffstat (limited to 'src/nvim/mouse.c')
-rw-r--r-- | src/nvim/mouse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/mouse.c b/src/nvim/mouse.c index fcd9ee4f75..d8ff83f479 100644 --- a/src/nvim/mouse.c +++ b/src/nvim/mouse.c @@ -286,7 +286,7 @@ retnomove: check_topfill(curwin, false); curwin->w_valid &= ~(VALID_WROW|VALID_CROW|VALID_BOTLINE|VALID_BOTLINE_AP); - redraw_later(VALID); + redraw_later(curwin, VALID); row = 0; } else if (row >= curwin->w_height_inner) { count = 0; @@ -316,7 +316,7 @@ retnomove: } } check_topfill(curwin, false); - redraw_later(VALID); + redraw_later(curwin, VALID); curwin->w_valid &= ~(VALID_WROW|VALID_CROW|VALID_BOTLINE|VALID_BOTLINE_AP); row = curwin->w_height_inner - 1; |