diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-05-11 22:01:51 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-05-11 22:01:51 +0200 |
commit | 0cb8ac71ae42f66d525ad855db01361ca38d935a (patch) | |
tree | b92519c8cf47222d59efc7c78bb4f47005f6e041 /src/ui.c | |
parent | a10ae5e323f4ebe6620869f4f9b0812b78090915 (diff) | |
download | vim-0cb8ac71ae42f66d525ad855db01361ca38d935a.zip |
patch 8.0.1815: crash with terminal window and with 'lazyredraw' set
Problem: Still a crash with terminal window and with 'lazyredraw' set.
(Antoine)
Solution: Do not wipe out the buffer when updating the screen.
Diffstat (limited to 'src/ui.c')
-rw-r--r-- | src/ui.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -415,7 +415,10 @@ ui_breakcheck_force(int force) #endif mch_breakcheck(force); - updating_screen = save_us; + if (save_us) + updating_screen = save_us; + else + reset_updating_screen(FALSE); } /***************************************************************************** |