diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-02-28 10:38:33 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-03-04 08:43:43 +0000 |
| commit | 1b4d9eade004c9050a918563e00d56de965d97e2 (patch) | |
| tree | 96fddfe98d7f1ae482c8a3cd44f187550ea315ca | |
| parent | doc: foot.ini: update default key bindings - use lower case keys (diff) | |
config: parse_key_combos: lower case manually, instead of calling tolower()
tolower() is locale dependent, something we do not want in this case.
| -rw-r--r-- | config.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1202,7 +1202,7 @@ parse_key_combos(struct config *conf, const char *combos, key_combo_list_t *key_ "shifted keys not supported with explicit \033[1mShift\033[m " "modifier", path, lineno, section, option, combo); - *key = tolower(*key); + *key = *key - 'A' + 'a'; } /* Translate key name to symbol */ |
