From 36bc6cd0952b2eddc17e7da803d85decf96d32cc Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Sun, 28 Sep 2014 03:51:45 +0200
Subject: Move to iconv
That is the major change in this commit.
Also Ctrl-modified keys now should work in URxvt,
which was surprisingly trivial to achieve.
Coming up next:
- making sure the tests still work
- introducing CMake
---
t/02getkey.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
(limited to 't/02getkey.c')
diff --git a/t/02getkey.c b/t/02getkey.c
index 279a598..d85f29b 100644
--- a/t/02getkey.c
+++ b/t/02getkey.c
@@ -20,10 +20,10 @@ int main(int argc, char *argv[])
is_int(termkey_getkey(tk, &key), TERMKEY_RES_KEY, "getkey yields RES_KEY after h");
- is_int(key.type, TERMKEY_TYPE_UNICODE, "key.type after h");
- is_int(key.code.codepoint, 'h', "key.code.codepoint after h");
- is_int(key.modifiers, 0, "key.modifiers after h");
- is_str(key.utf8, "h", "key.utf8 after h");
+ is_int(key.type, TERMKEY_TYPE_KEY, "key.type after h");
+ is_int(key.code.codepoint, 'h', "key.code.codepoint after h");
+ is_int(key.modifiers, 0, "key.modifiers after h");
+ is_str(key.multibyte, "h", "key.multibyte after h");
is_int(termkey_get_buffer_remaining(tk), 256, "buffer free 256 after getkey");
--
cgit v1.2.3-54-g00ecf