aboutsummaryrefslogtreecommitdiff
path: root/dcs.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 /dcs.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 'dcs.h')
-rw-r--r--dcs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/dcs.h b/dcs.h
new file mode 100644
index 00000000..38108444
--- /dev/null
+++ b/dcs.h
@@ -0,0 +1,7 @@
+#pragma once
+
+#include <stdbool.h>
+#include "terminal.h"
+
+void dcs_passthrough(struct terminal *term);
+bool dcs_ensure_size(struct terminal *term, size_t required_size);