diff options
author | Ben Connors <benconnors@outlook.com> | 2019-11-08 23:20:08 -0500 |
---|---|---|
committer | Ben Connors <benconnors@outlook.com> | 2019-11-08 23:20:08 -0500 |
commit | e7a0cc042c298682799ed4a47c8ee4639fc44517 (patch) | |
tree | 18388132403ba06f57086866b4e0c539742edb58 | |
parent | 711805d71ee4abdac1e5c96a702647e493cc9056 (diff) |
Fix pager oversight
- Shouldn't add an extra line when no lines are there
-rwxr-xr-x | interface/pager.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/interface/pager.py b/interface/pager.py index 901c431..3f4b5b2 100755 --- a/interface/pager.py +++ b/interface/pager.py @@ -71,7 +71,7 @@ class Pager: def display_many(self, s, split=False): with self._lock: - if split: + if split and self._lines: self._lines.append("") self._actual.append("") for l in s: |