aboutsummaryrefslogtreecommitdiff
path: root/dcs.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 /dcs.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 'dcs.h')
-rw-r--r--dcs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/dcs.h b/dcs.h
new file mode 100644
index 00000000..f89de38a
--- /dev/null
+++ b/dcs.h
@@ -0,0 +1,8 @@
+#pragma once
+
+#include <stdbool.h>
+#include "terminal.h"
+
+void dcs_hook(struct terminal *term, uint8_t final);
+void dcs_put(struct terminal *term, uint8_t c);
+void dcs_unhook(struct terminal *term);