aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-19 07:55:07 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-19 07:55:07 +0000
commitb95332676863d902e410b04305ceb20760297fa3 (patch)
tree51b3feb3c474c7fe5c9e7bffd040a23e05ce5952 /terminal.h
parentosc: allocate data buffer dynamically (diff)
dcs: sort of implement DCS passthrough
We now store the passthrough characters in a buffer, and call dcs_passthrough() on unhook. However, dcs_passthrough() doesn't do anything.
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/terminal.h b/terminal.h
index 57e8c97a..2af1af53 100644
--- a/terminal.h
+++ b/terminal.h
@@ -130,6 +130,11 @@ struct vt {
size_t idx;
} osc;
struct {
+ uint8_t *data;
+ size_t size;
+ size_t idx;
+ } dcs;
+ struct {
uint8_t data[4];
size_t idx;
size_t left;