Fixing inversed conditional

This commit is contained in:
Michael Lazar
2018-04-02 18:40:29 -04:00
parent 100515769c
commit f5dab8dd56

View File

@@ -813,7 +813,7 @@ class Terminal(object):
# Prune empty lines at the bottom of the textbox. # Prune empty lines at the bottom of the textbox.
for item in stack[::-1]: for item in stack[::-1]:
if item: if not item:
stack.pop() stack.pop()
else: else:
break break