diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-01-31 20:51:47 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-01-31 20:51:47 +0100 |
commit | a338adcf222b6a24e26ea5ae6a2ad27f914acb38 (patch) | |
tree | 0ffe28d0a3a60c2c1444a991514505c448d4335b /src/proto/term.pro | |
parent | 37badc898b8d167e11553b6d05908ffd35928a6e (diff) | |
download | vim-a338adcf222b6a24e26ea5ae6a2ad27f914acb38.zip |
patch 8.0.1449: slow redrawing with DirectX
Problem: Slow redrawing with DirectX.
Solution: Avoid calling gui_mch_flush() unnecessarily, especially when
updating the cursor. (Ken Takata, closes #2560)
Diffstat (limited to 'src/proto/term.pro')
-rw-r--r-- | src/proto/term.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/term.pro b/src/proto/term.pro index ef74f5647..b0ad418e8 100644 --- a/src/proto/term.pro +++ b/src/proto/term.pro @@ -12,6 +12,7 @@ int term_is_gui(char_u *name); char_u *tltoa(unsigned long i); void termcapinit(char_u *name); void out_flush(void); +void out_flush_cursor(int force, int clear_selection); void out_flush_check(void); void out_trash(void); void out_char(unsigned c); |