Mercurial > vim
changeset 16038:e7b18ce9ea2d v8.1.1024
patch 8.1.1024: stray log calls in terminal code
commit https://github.com/vim/vim/commit/697005f2cf0b41b22a673a67401a2c4d974e72d4
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Mar 20 20:38:44 2019 +0100
patch 8.1.1024: stray log calls in terminal code
Problem: Stray log calls in terminal code. (Christian Brabandt)
Solution: Remove the calls.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 20 Mar 2019 20:45:06 +0100 |
parents | da819dd2128e |
children | 64a87f94518e |
files | src/terminal.c src/version.c |
diffstat | 2 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/terminal.c +++ b/src/terminal.c @@ -1786,7 +1786,6 @@ term_check_timers(int next_due_arg, prof 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 VTermScr // 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 cleanup_scrollback(term); gap = &term->tl_scrollback; update_buffer = TRUE; -ch_log(NULL, "handle_pushline(): add to window"); } limit_scrollback(term, gap, update_buffer);