From 0cb35c049520c221c3a98820c3e18c3d2df12161 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 3 Apr 2015 09:38:54 +0530 Subject: [PATCH] ... --- setup/multitail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/multitail.py b/setup/multitail.py index cf4e8f30b6..20f0c2789a 100644 --- a/setup/multitail.py +++ b/setup/multitail.py @@ -49,9 +49,9 @@ def nonblocking_readlines(window, fileobj, buf, name, copy_to=None): def show_line(window, line, fname): line = clean_pat.sub(b'', line) max_lines, max_chars = window.getmaxyx() + title = str(b" %s " % fname) if line: continue_prompt = b'> ' - title = str(b" %s " % fname) max_line_len = max_chars - 2 if len(line) > max_line_len: first_portion = line[0:max_line_len - 1]