aboutsummaryrefslogtreecommitdiffstats
path: root/term.h
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-04-19 17:55:58 -0400
committerJesse Luehrs <doy@tozt.net>2014-04-19 17:55:58 -0400
commit1dc695f6a13f701d9e3464388588e275bde5d26b (patch)
tree421915f694c0255fa15719f8b4f296f141f705ae /term.h
parentab063f3928a27601bd4c7ca514d78a544ba7ffcf (diff)
downloadrunes-1dc695f6a13f701d9e3464388588e275bde5d26b.tar.gz
runes-1dc695f6a13f701d9e3464388588e275bde5d26b.zip
handle escape codes split across reads
Diffstat (limited to 'term.h')
-rw-r--r--term.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/term.h b/term.h
index 2969a94..3938862 100644
--- a/term.h
+++ b/term.h
@@ -37,6 +37,10 @@ struct runes_term {
char *font_name;
PangoLayout *layout;
+ char readbuf[RUNES_READ_BUFFER_LENGTH];
+ int readlen;
+ int remaininglen;
+
char bold;
char inverse;
char hide_cursor;