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/proto/screen.pro | 1 + src/proto/terminal.pro | 1 + 2 files changed, 2 insertions(+) (limited to 'src/proto') diff --git a/src/proto/screen.pro b/src/proto/screen.pro index f690f93d6..5760dae1b 100644 --- a/src/proto/screen.pro +++ b/src/proto/screen.pro @@ -9,6 +9,7 @@ void redraw_buf_and_status_later(buf_T *buf, int type); int redraw_asap(int type); void redraw_after_callback(int call_update_screen); void redrawWinline(linenr_T lnum, int invalid); +void reset_updating_screen(int may_resize_shell); void update_curbuf(int type); int update_screen(int type_arg); int conceal_cursor_line(win_T *wp); diff --git a/src/proto/terminal.pro b/src/proto/terminal.pro index 93c6ab53c..25f9647f2 100644 --- a/src/proto/terminal.pro +++ b/src/proto/terminal.pro @@ -20,6 +20,7 @@ void term_win_entered(void); int terminal_loop(int blocking); void term_job_ended(job_T *job); void term_channel_closed(channel_T *ch); +void term_check_channel_closed_recently(void); int term_do_update_window(win_T *wp); void term_update_window(win_T *wp); int term_is_finished(buf_T *buf); -- cgit v1.2.1