- commit
- 7cdb803f562ba154f6c5eaa7d6433bf5871142aa
- parent
- b80d45a430dfc503b43aa1e0e6ccde7d04c87b90
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2024-08-12 21:31
overwrite instead of clear see https://www.textualize.io/blog/7-things-ive-learned-building-a-modern-tui-framework/
Diffstat
| M | boon.py | 3 | +-- |
1 files changed, 1 insertions, 2 deletions
diff --git a/boon.py b/boon.py
@@ -119,8 +119,7 @@ class App: 119 119 if not force and len(self.old_lines) > i and line == self.old_lines[i]: 120 120 continue 121 121 move(i, 0)122 -1 sys.stdout.write(get_cap('el'))123 -1 sys.stdout.write(line)-1 122 sys.stdout.write(line + get_cap('el')) 124 123 125 124 # clear rest of screen 126 125 if len(lines) < len(self.old_lines):