summaryrefslogtreecommitdiff
path: root/examples/dte/mode.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dte/mode.h')
-rw-r--r--examples/dte/mode.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/dte/mode.h b/examples/dte/mode.h
new file mode 100644
index 0000000..40d4a6b
--- /dev/null
+++ b/examples/dte/mode.h
@@ -0,0 +1,11 @@
+#ifndef MODE_H
+#define MODE_H
+
+#include <stdbool.h>
+#include "editor.h"
+#include "terminal/key.h"
+#include "util/macros.h"
+
+bool handle_input(EditorState *e, KeyCode key) NONNULL_ARGS;
+
+#endif