From 8a85e071fdaa7448e6ec595bcbeba633e7a95af6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 27 Oct 2016 00:33:53 +0200 Subject: 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 `` should also be mapped to ``. Fix #404 --- ui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui.h') diff --git a/ui.h b/ui.h index 26f2227..f1e6c28 100644 --- a/ui.h +++ b/ui.h @@ -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*); -- cgit v1.2.3