From fff5211d2776185348d6b813f2a16cedd5f485d0 Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Thu, 1 Dec 2022 20:24:35 +0000 Subject: Add --ascii-input option. --- src/config.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/config.c') diff --git a/src/config.c b/src/config.c index 83321ed..0cfd566 100644 --- a/src/config.c +++ b/src/config.c @@ -686,6 +686,11 @@ bool parse_option(struct tofi *tofi, const char *filename, size_t lineno, const if (!err) { tofi->multiple_instance = val; } + } else if (strcasecmp(option, "ascii-input") == 0) { + bool val = parse_bool(filename, lineno, value, &err); + if (!err) { + tofi->ascii_input = val; + } } else if (strcasecmp(option, "late-keyboard-init") == 0) { bool val = parse_bool(filename, lineno, value, &err); if (!err) { -- cgit v1.2.3