summaryrefslogtreecommitdiff
path: root/src/tty_interface.h
diff options
context:
space:
mode:
authorJohn Hawthorn <john.hawthorn@gmail.com>2016-06-19 23:08:00 -0700
committerJohn Hawthorn <john.hawthorn@gmail.com>2016-06-19 23:08:00 -0700
commit52f091dfd559ba6f4ad9ddeb40411423c4914cd4 (patch)
tree4de7747cda29f1408feb0fa28d4a745b0a6917fa /src/tty_interface.h
parentfbf5f7a2d388a1fe9f4f8386e5db006bd7acf8c6 (diff)
Extract tty interface to own file
Diffstat (limited to 'src/tty_interface.h')
-rw-r--r--src/tty_interface.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/tty_interface.h b/src/tty_interface.h
new file mode 100644
index 0000000..e1240c3
--- /dev/null
+++ b/src/tty_interface.h
@@ -0,0 +1,12 @@
+#ifndef TTY_INTERFACE_H
+#define TTY_INTERFACE_H TTY_INTERFACE_H
+
+#include "choices.h"
+#include "options.h"
+#include "tty.h"
+
+#define SEARCH_SIZE_MAX 4096
+
+void tty_interface_run(tty_t *tty, choices_t *choices, options_t *options);
+
+#endif