Mercurial > vim
diff src/ui.c @ 13888:81e8e6181aeb v8.0.1815
patch 8.0.1815: crash with terminal window and with 'lazyredraw' set
commit https://github.com/vim/vim/commit/0cb8ac71ae42f66d525ad855db01361ca38d935a
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri May 11 22:01:51 2018 +0200
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 11 May 2018 22:15:06 +0200 |
parents | 156ebdcb8ef5 |
children | 193471015e1a |
line wrap: on
line diff
--- a/src/ui.c +++ b/src/ui.c @@ -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); } /*****************************************************************************