aboutsummaryrefslogtreecommitdiffstats
path: root/termcast.py
diff options
context:
space:
mode:
Diffstat (limited to 'termcast.py')
-rw-r--r--termcast.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/termcast.py b/termcast.py
index da0f5ce..1514fd9 100644
--- a/termcast.py
+++ b/termcast.py
@@ -12,7 +12,7 @@ class Handler(object):
def process(self, data):
self.buf += data
- clear = self.buf.rfind("\033[2J")
+ clear = self.buf.rfind(b"\033[2J")
if clear != -1:
self.buf = self.buf[clear + 4:]
self.vt.process(data)