aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-06-09 15:31:40 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-06-09 15:31:40 +0000
commite7d7b30c84c11a1f4c0f8ffc4ac76e56a9ea8048 (patch)
treee57fc32d5980881217487384ed37a8740c5f99a9 /terminal.h
parentrender: sixel: use pixman_image_composite32() (diff)
parentterm: print_insert: early return (diff)
Merge branch 'faster-unicode'
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;