| blc2 - Python library and frontend for running theatrical lighting and SFX. Written for the English 2041F fall 2019 theatre production of "The Cenci".
git clone https://benconnors.ca/git-repos/blc2 |
commit e7a0cc042c298682799ed4a47c8ee4639fc44517 parent 711805d71ee4abdac1e5c96a702647e493cc9056 Author: Ben Connors <benconnors@outlook.com> Date: Fri, 8 Nov 2019 23:20:08 -0500 Fix pager oversight - Shouldn't add an extra line when no lines are there Diffstat:
| M | interface/pager.py | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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: