aboutsummaryrefslogtreecommitdiff
path: root/osc.c
diff options
context:
space:
mode:
Diffstat (limited to 'osc.c')
-rw-r--r--osc.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/osc.c b/osc.c
new file mode 100644
index 00000000..5f71287e
--- /dev/null
+++ b/osc.c
@@ -0,0 +1,12 @@
+#include "osc.h"
+
+#define LOG_MODULE "osc"
+#define LOG_ENABLE_DBG 1
+#include "log.h"
+
+bool
+osc_dispatch(struct terminal *term)
+{
+ LOG_DBG("OCS: %.*s", (int)term->vt.osc.idx, term->vt.osc.data);
+ return true;
+}