aboutsummaryrefslogtreecommitdiffstats
path: root/termcast.py
diff options
context:
space:
mode:
Diffstat (limited to 'termcast.py')
-rw-r--r--termcast.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/termcast.py b/termcast.py
index 63cf9c8..c86a9af 100644
--- a/termcast.py
+++ b/termcast.py
@@ -41,6 +41,9 @@ class Handler(object):
if clear != -1:
self.buf = self.buf[clear + 4:]
+ # XXX need to check how much was actually processed here, to avoid
+ # breaking when escape sequences or utf-8 sequences are split across
+ # reads
self.vt.process(data)
self.idle_since = time.time()