1
0
forked from aniani/vim

patch 8.2.0632: crash when using Haiku

Problem:    Crash when using Haiku.
Solution:   Lock the screen. (closes #5975, closes #5973)
This commit is contained in:
Bram Moolenaar
2020-04-24 22:19:00 +02:00
parent b52575f9cf
commit 92c461ef1b
2 changed files with 6 additions and 0 deletions

View File

@@ -3881,6 +3881,10 @@ screen_del_lines(
clip_scroll_selection(line_count);
#endif
#ifdef FEAT_GUI_HAIKU
vim_lock_screen();
#endif
#ifdef FEAT_GUI
// Don't update the GUI cursor here, ScreenLines[] is invalid until the
// scrolling is actually carried out.

View File

@@ -746,6 +746,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
632,
/**/
631,
/**/