- commit
- ad1d1911cbc38bb91d9a19814c8746949f967fcf
- parent
- 5b5541355bcac8fd9411d62dcc5ed23d8cf79394
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2021-06-27 08:29
only clear rest of screen if required
Diffstat
| M | boon.py | 2 | +- |
1 files changed, 1 insertions, 1 deletions
diff --git a/boon.py b/boon.py
@@ -103,7 +103,7 @@ class App: 103 103 sys.stdout.write(line) 104 104 105 105 # clear rest of screen106 -1 if len(lines) < self.rows:-1 106 if len(lines) < len(self.old_lines): 107 107 move(len(lines), 0) 108 108 sys.stdout.write(get_cap('ed')) 109 109 sys.stdout.flush()