diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-10-27 00:33:53 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-10-27 00:33:53 +0200 |
| commit | 8a85e071fdaa7448e6ec595bcbeba633e7a95af6 (patch) | |
| tree | 80ab2c25bb68e7559dc52b317f36b47708c49cf8 /ui.h | |
| parent | d4f852269246b07479aa2bbd8db8798509394f99 (diff) | |
| download | vis-8a85e071fdaa7448e6ec595bcbeba633e7a95af6.tar.gz vis-8a85e071fdaa7448e6ec595bcbeba633e7a95af6.tar.xz | |
vis: apply language map only to key values not modifiers
The language map translation should not take modifiers into account.
For example if `a` is mapped to `b` then `<M-a>` should also be mapped
to `<M-b>`.
Fix #404
Diffstat (limited to 'ui.h')
| -rw-r--r-- | ui.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -66,7 +66,7 @@ struct Ui { void (*redraw)(Ui*); void (*update)(Ui*); void (*suspend)(Ui*); - const char* (*getkey)(Ui*); + bool (*getkey)(Ui*, TermKeyKey*); bool (*haskey)(Ui*); void (*terminal_save)(Ui*); void (*terminal_restore)(Ui*); |
