summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-03-20 20:38:44 +0100
committerBram Moolenaar <Bram@vim.org>2019-03-20 20:38:44 +0100
commit697005f2cf0b41b22a673a67401a2c4d974e72d4 (patch)
tree800e3856f07ffdc40d2026bf924266d3ccd0ced9
parent61be376337b0374d55a4b1d8206b2ec87ca54252 (diff)
downloadvim-git-697005f2cf0b41b22a673a67401a2c4d974e72d4.tar.gz
patch 8.1.1024: stray log calls in terminal codev8.1.1024
Problem: Stray log calls in terminal code. (Christian Brabandt) Solution: Remove the calls.
-rw-r--r--src/terminal.c3
-rw-r--r--src/version.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/terminal.c b/src/terminal.c
index 6b167792f..08df532f2 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -1786,7 +1786,6 @@ term_check_timers(int next_due_arg, proftime_T *now)
static void
set_terminal_mode(term_T *term, int normal_mode)
{
-ch_log(NULL, "set_terminal_mode(): %d", normal_mode);
term->tl_normal_mode = normal_mode;
if (!normal_mode)
handle_postponed_scrollback(term);
@@ -2854,7 +2853,6 @@ handle_pushline(int cols, const VTermScreenCell *cells, void *user)
// must not change it. Postpone adding the scrollback lines.
gap = &term->tl_scrollback_postponed;
update_buffer = FALSE;
-ch_log(NULL, "handle_pushline(): add to postponed");
}
else
{
@@ -2863,7 +2861,6 @@ ch_log(NULL, "handle_pushline(): add to postponed");
cleanup_scrollback(term);
gap = &term->tl_scrollback;
update_buffer = TRUE;
-ch_log(NULL, "handle_pushline(): add to window");
}
limit_scrollback(term, gap, update_buffer);
diff --git a/src/version.c b/src/version.c
index 60aee660a..2515a2515 100644
--- a/src/version.c
+++ b/src/version.c
@@ -780,6 +780,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1024,
+/**/
1023,
/**/
1022,