diff options
author | pommicket <pommicket@gmail.com> | 2022-07-29 14:44:17 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2022-07-29 14:44:17 -0400 |
commit | 1a9561c06ba0197b2b307a61443775f9fd11165b (patch) | |
tree | 2297afc02e5a4eb7f65a8248db3906284c144737 /config.c | |
parent | ab65fe136f7a8739b78aaa4801a9fb761a301417 (diff) |
language-specific keyboard shortcuts
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -371,6 +371,7 @@ void config_read(Ted *ted, char const *filename, int pass) { switch (section) { case SECTION_CORE: case SECTION_COLORS: + case SECTION_KEYBOARD: break; default: config_err(cfg, "%s settings cannot be configured for individual languages.", @@ -431,7 +432,7 @@ void config_read(Ted *ted, char const *filename, int pass) { case SECTION_KEYBOARD: { // lines like Ctrl+Down = 10 :down u32 key_combo = config_parse_key_combo(cfg, key); - KeyAction *action = &ted->key_actions[key_combo]; + KeyAction *action = &settings->key_actions[key_combo]; llong argument = 1; if (isdigit(*value)) { // read the argument |