Fixing inversed conditional
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user