summaryrefslogtreecommitdiff
path: root/src/escape.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/escape.h')
-rw-r--r--src/escape.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/escape.h b/src/escape.h
new file mode 100644
index 0000000..a66d02c
--- /dev/null
+++ b/src/escape.h
@@ -0,0 +1,10 @@
+#ifndef TERM_ESCAPE_H
+#define TERM_ESCAPE_H
+#include "internal.h"
+
+void term_escape_begin(struct term *t);
+void term_escape_byte(struct term *t, unsigned char ch);
+size_t term_escape_str(struct term *t, const char *buf, size_t len);
+size_t term_escape_csi(struct term *t, const char *buf, size_t len);
+
+#endif