comparison src/proto/terminal.pro @ 13851:3edac4cd1c0a v8.0.1797

patch 8.0.1797: terminal window is redrawn too often commit https://github.com/vim/vim/commit/6eddadff13164b98fe8198153cc656897b2cbcb3 Author: Bram Moolenaar <Bram@vim.org> Date: Sun May 6 16:40:16 2018 +0200 patch 8.0.1797: terminal window is redrawn too often Problem: Terminal window is redrawn too often and scrolling is repeated. Solution: Don't scroll immediately but only when redrawing. Avoid redrawing the whole terminal window on every change.
author Christian Brabandt <cb@256bit.org>
date Sun, 06 May 2018 16:45:05 +0200
parents 39fcaaa973db
children a590029f16a0
comparison
equal deleted inserted replaced
13850:939759958f27 13851:3edac4cd1c0a
12 int term_in_normal_mode(void); 12 int term_in_normal_mode(void);
13 void term_enter_job_mode(void); 13 void term_enter_job_mode(void);
14 int send_keys_to_term(term_T *term, int c, int typed); 14 int send_keys_to_term(term_T *term, int c, int typed);
15 int terminal_is_active(void); 15 int terminal_is_active(void);
16 cursorentry_T *term_get_cursor_shape(guicolor_T *fg, guicolor_T *bg); 16 cursorentry_T *term_get_cursor_shape(guicolor_T *fg, guicolor_T *bg);
17 int term_use_loop(void);
17 void term_win_entered(void); 18 void term_win_entered(void);
18 int term_use_loop(void);
19 int terminal_loop(int blocking); 19 int terminal_loop(int blocking);
20 void term_job_ended(job_T *job); 20 void term_job_ended(job_T *job);
21 void term_channel_closed(channel_T *ch); 21 void term_channel_closed(channel_T *ch);
22 int term_update_window(win_T *wp); 22 int term_do_update_window(win_T *wp);
23 void term_update_window(win_T *wp);
23 int term_is_finished(buf_T *buf); 24 int term_is_finished(buf_T *buf);
24 int term_show_buffer(buf_T *buf); 25 int term_show_buffer(buf_T *buf);
25 void term_change_in_curbuf(void); 26 void term_change_in_curbuf(void);
26 int term_get_attr(buf_T *buf, linenr_T lnum, int col); 27 int term_get_attr(buf_T *buf, linenr_T lnum, int col);
27 char_u *term_get_status_text(term_T *term); 28 char_u *term_get_status_text(term_T *term);