From d3fb73f9ef7e66c21a9cd7152fcc5b2477d76e4c Mon Sep 17 00:00:00 2001 From: ketmar Date: Mon, 23 Apr 2012 22:46:49 +0300 Subject: [PATCH] removed some debug output --- src/sterm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/sterm.c b/src/sterm.c index 7f8e866..b38704a 100644 --- a/src/sterm.c +++ b/src/sterm.c @@ -641,7 +641,7 @@ static void switchToTerm (int idx, int redraw) { tfulldirt(); updateTabBar = 1; if (redraw) draw(1); - fprintf(stderr, "term #%d\n", termidx); + //fprintf(stderr, "term #%d\n", termidx); } } @@ -3729,6 +3729,8 @@ static void cmdSwitchToTab (const char *cmdname, char *argstr) { // flushNewTerm(); switchToTerm(parseTabArgs(argstr, &noswitch, 0, -2), 1); + oldTerm = term; + oldTermIdx = termidx; } -- 2.11.4.GIT