From f5dab8dd560dc319cf23724653de376bdc850e10 Mon Sep 17 00:00:00 2001 From: Michael Lazar Date: Mon, 2 Apr 2018 18:40:29 -0400 Subject: [PATCH] Fixing inversed conditional --- rtv/terminal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtv/terminal.py b/rtv/terminal.py index ef97000..9d8d3d1 100644 --- a/rtv/terminal.py +++ b/rtv/terminal.py @@ -813,7 +813,7 @@ class Terminal(object): # Prune empty lines at the bottom of the textbox. for item in stack[::-1]: - if item: + if not item: stack.pop() else: break