Mercurial > vim
diff src/proto/gui.pro @ 9848:664276833670 v7.4.2199
commit https://github.com/vim/vim/commit/107abd2ca53c31fd3bb40d77ff296e98eaae2975
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Aug 12 14:08:25 2016 +0200
patch 7.4.2199
Problem: In the GUI the cursor is hidden when redrawing any window,
causing flicker.
Solution: Only undraw the cursor when updating the window it's in.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 12 Aug 2016 14:15:05 +0200 |
parents | 21b0a39d13ed |
children | 1bdc12630fc0 |
line wrap: on
line diff
--- a/src/proto/gui.pro +++ b/src/proto/gui.pro @@ -23,7 +23,7 @@ void gui_stop_highlight(int mask); void gui_clear_block(int row1, int col1, int row2, int col2); void gui_update_cursor_later(void); void gui_write(char_u *s, int len); -void gui_dont_update_cursor(void); +void gui_dont_update_cursor(int undraw); void gui_can_update_cursor(void); int gui_outstr_nowrap(char_u *s, int len, int flags, guicolor_T fg, guicolor_T bg, int back); void gui_undraw_cursor(void);