diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-05-11 22:01:51 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-05-11 22:01:51 +0200 |
commit | 0cb8ac71ae42f66d525ad855db01361ca38d935a (patch) | |
tree | b92519c8cf47222d59efc7c78bb4f47005f6e041 /src/proto | |
parent | a10ae5e323f4ebe6620869f4f9b0812b78090915 (diff) | |
download | vim-git-0cb8ac71ae42f66d525ad855db01361ca38d935a.tar.gz |
patch 8.0.1815: crash with terminal window and with 'lazyredraw' setv8.0.1815
Problem: Still a crash with terminal window and with 'lazyredraw' set.
(Antoine)
Solution: Do not wipe out the buffer when updating the screen.
Diffstat (limited to 'src/proto')
-rw-r--r-- | src/proto/screen.pro | 1 | ||||
-rw-r--r-- | src/proto/terminal.pro | 1 |
2 files changed, 2 insertions, 0 deletions
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); |