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.
diff --git a/src/ui.c b/src/ui.c
index 05e82e6..8e3f0de 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -415,7 +415,10 @@
#endif
mch_breakcheck(force);
- updating_screen = save_us;
+ if (save_us)
+ updating_screen = save_us;
+ else
+ reset_updating_screen(FALSE);
}
/*****************************************************************************