mirror of
https://github.com/vim/vim.git
synced 2025-10-01 04:54:07 -04:00
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.
|
||||
|
Reference in New Issue
Block a user