diff options
author | Phil Jones <philj56@gmail.com> | 2022-12-01 20:24:35 +0000 |
---|---|---|
committer | Phil Jones <philj56@gmail.com> | 2022-12-01 20:24:35 +0000 |
commit | fff5211d2776185348d6b813f2a16cedd5f485d0 (patch) | |
tree | 2a4c7f38491e3168c14db4c6fc633210950cbd04 /src/config.c | |
parent | dd36bf1c53216e1828d136cb735d65816575571f (diff) |
Add --ascii-input option.
Diffstat (limited to 'src/config.c')
-rw-r--r-- | src/config.c | 5 |
1 files changed, 5 insertions, 0 deletions
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) { |