summaryrefslogtreecommitdiff
path: root/interface
diff options
context:
space:
mode:
authorBen Connors <benconnors@outlook.com>2019-11-08 23:20:08 -0500
committerBen Connors <benconnors@outlook.com>2019-11-08 23:20:08 -0500
commite7a0cc042c298682799ed4a47c8ee4639fc44517 (patch)
tree18388132403ba06f57086866b4e0c539742edb58 /interface
parent711805d71ee4abdac1e5c96a702647e493cc9056 (diff)
Fix pager oversight
- Shouldn't add an extra line when no lines are there
Diffstat (limited to 'interface')
-rwxr-xr-xinterface/pager.py2
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: