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/message.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/message.c')
-rw-r--r-- | src/nvim/message.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/message.c b/src/nvim/message.c index 6cd5616acf..06ba607323 100644 --- a/src/nvim/message.c +++ b/src/nvim/message.c @@ -1216,7 +1216,7 @@ void wait_return(int redraw) ui_refresh(); } else if (!skip_redraw) { if (redraw == true || (msg_scrolled != 0 && redraw != -1)) { - redraw_later(VALID); + redraw_later(curwin, VALID); } if (ui_has(kUIMessages)) { msg_ext_clear(true); @@ -2222,7 +2222,7 @@ void msg_scroll_up(bool may_throttle) /// /// Probably message scrollback storage should reimplented as a file_buffer, and /// message scrolling in TUI be reimplemented as a modal floating window. Then -/// we get throttling "for free" using standard redraw_win_later code paths. +/// we get throttling "for free" using standard redraw_later code paths. void msg_scroll_flush(void) { if (msg_grid.throttled) { |