summaryrefslogtreecommitdiff
path: root/src/scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/scan.c')
-rw-r--r--src/scan.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/scan.c b/src/scan.c
new file mode 100644
index 0000000..497c95b
--- /dev/null
+++ b/src/scan.c
@@ -0,0 +1,11 @@
+#include "compat.h"
+#include "kernels.h"
+#include "term.h"
+
+TERM_HOT
+size_t term_scan_printable_span(const char *buf, size_t len, unsigned char hi)
+{
+ /* The only entry point that can run before the first terminal. */
+ term_isa_init();
+ return scan_printable_span(buf, len, hi);
+}