]> granicus.if.org Git - vim/commitdiff
patch 8.1.1024: stray log calls in terminal code v8.1.1024
authorBram Moolenaar <Bram@vim.org>
Wed, 20 Mar 2019 19:38:44 +0000 (20:38 +0100)
committerBram Moolenaar <Bram@vim.org>
Wed, 20 Mar 2019 19:38:44 +0000 (20:38 +0100)
Problem:    Stray log calls in terminal code. (Christian Brabandt)
Solution:   Remove the calls.

src/terminal.c
src/version.c

index 6b167792fa8aee41754ef76fa8559ebded0363cd..08df532f2f37747d757ed7aba256e756c9f1e11b 100644 (file)
@@ -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);
index 60aee660a8122b32958428d2ec0053d8e35db273..2515a25156e32e39cc7b58ab75dc5438fb1a2db8 100644 (file)
@@ -779,6 +779,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1024,
 /**/
     1023,
 /**/