diff --git a/copytk.py b/copytk.py index 67f6ab6..a3e561a 100644 --- a/copytk.py +++ b/copytk.py @@ -395,9 +395,7 @@ def process_pane_capture_lines(data, nlines=None): # also handles nonprintables lines = [ ''.join([ - ' ' if c == '\t' else ( - c if c.isprintable() else '' - ) + ' ' if c == '\t' else c for c in line ]) for line in data.split('\n')