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:
@@ -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.
|
||||
|
@@ -746,6 +746,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
632,
|
||||
/**/
|
||||
631,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user