aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-06-07 14:16:50 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-06-07 14:16:50 +0000
commit9452aff0208f62716304022f4496bafbebdf50e9 (patch)
tree9793a0d78c81eb74ff6b709324fc39b78cfb1075 /terminal.h
parentrender: sixel: use pixman_image_composite32() (diff)
vt: initial version of UTF-8 decoding built-in into the VT parser
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/terminal.h b/terminal.h
index eecebbf6..798307cb 100644
--- a/terminal.h
+++ b/terminal.h
@@ -130,6 +130,7 @@ struct vt_param {
struct vt {
int state; /* enum state */
wchar_t last_printed;
+ wchar_t utf8;
struct {
struct vt_param v[16];
uint8_t idx;
@@ -141,10 +142,6 @@ struct vt {
size_t idx;
} osc;
struct {
- uint8_t data[4];
- uint8_t idx;
- } utf8;
- struct {
uint8_t *data;
size_t size;
size_t idx;