summaryrefslogtreecommitdiffstats
path: root/src/proto/terminal.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-05-06 16:40:16 +0200
committerBram Moolenaar <Bram@vim.org>2018-05-06 16:40:16 +0200
commit6eddadff13164b98fe8198153cc656897b2cbcb3 (patch)
treeee5f8b946b47fcb83f719b52f16b1e06d8cd6bcc /src/proto/terminal.pro
parent231a2db1b372fe9645505e711ac53b9ee748c535 (diff)
patch 8.0.1797: terminal window is redrawn too oftenv8.0.1797
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.
Diffstat (limited to 'src/proto/terminal.pro')
-rw-r--r--src/proto/terminal.pro5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/proto/terminal.pro b/src/proto/terminal.pro
index 78b640f7a5..f97f025d58 100644
--- a/src/proto/terminal.pro
+++ b/src/proto/terminal.pro
@@ -14,12 +14,13 @@ void term_enter_job_mode(void);
int send_keys_to_term(term_T *term, int c, int typed);
int terminal_is_active(void);
cursorentry_T *term_get_cursor_shape(guicolor_T *fg, guicolor_T *bg);
-void term_win_entered(void);
int term_use_loop(void);
+void term_win_entered(void);
int terminal_loop(int blocking);
void term_job_ended(job_T *job);
void term_channel_closed(channel_T *ch);
-int term_update_window(win_T *wp);
+int term_do_update_window(win_T *wp);
+void term_update_window(win_T *wp);
int term_is_finished(buf_T *buf);
int term_show_buffer(buf_T *buf);
void term_change_in_curbuf(void);