aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-01-12 10:58:53 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-01-12 10:58:53 +0000
commit35e696aa5567d218db0bfb2fa5dbdcbf6c339ced (patch)
tree6ce6e08d69a5dbd50e47895fc2971bd60d3c4df9 /terminal.h
parentrender: don't bother trying to lookup glyph for empty cells (diff)
parentdcs: initial handling of DCS in general (diff)
Merge branch 'dcs'
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index 1595f902..8e47826b 100644
--- a/terminal.h
+++ b/terminal.h
@@ -125,6 +125,12 @@ struct vt {
size_t idx;
size_t left;
} utf8;
+ struct {
+ uint8_t *data;
+ size_t size;
+ size_t idx;
+ void (*unhook_handler)(struct terminal *term);
+ } dcs;
struct attributes attrs;
struct attributes saved_attrs;
};