diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-08-05 15:18:37 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-08-05 15:20:56 -0700 |
commit | a519afbf104a96b177622d2aafda8475c8b15bea (patch) | |
tree | 6c1f634298ba44143a279376b74d76e62bb9fddb | |
parent | 99f05d9a964629d51f0d42e69ab546b8ae04fc75 (diff) |
setup: handle ':' prefixes in setup_interactively()
This was done for rkt_scener already, this commit brings
interactive setup inline WRT :raw_value overrides on multiple
choice settings.
-rw-r--r-- | src/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/setup.c b/src/setup.c index acca929..bf74cfb 100644 --- a/src/setup.c +++ b/src/setup.c @@ -160,7 +160,7 @@ int setup_interactively(til_settings_t *settings, int (*setup_func)(const til_se } else { buf[strlen(buf) - 1] = '\0'; - if (desc->spec.values) { + if (desc->spec.values && buf[0] != ':') { unsigned i, j, found; /* multiple choice, map numeric input to values entry */ |