From 0cb8ac71ae42f66d525ad855db01361ca38d935a Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 11 May 2018 22:01:51 +0200 Subject: 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. --- src/ui.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/ui.c') diff --git a/src/ui.c b/src/ui.c index 05e82e6c7..8e3f0deee 100644 --- 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); } /***************************************************************************** -- cgit v1.2.3