diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2014-09-28 03:51:45 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2014-09-28 03:59:12 +0200 |
commit | 36bc6cd0952b2eddc17e7da803d85decf96d32cc (patch) | |
tree | 23488c213f53db83346d3eaf71cb78d74c42eff0 /t/02getkey.c | |
parent | cac1f8373bb16aae02ffa80acf8640385bf94591 (diff) | |
download | termo-36bc6cd0952b2eddc17e7da803d85decf96d32cc.tar.gz termo-36bc6cd0952b2eddc17e7da803d85decf96d32cc.tar.xz termo-36bc6cd0952b2eddc17e7da803d85decf96d32cc.zip |
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
Diffstat (limited to 't/02getkey.c')
-rw-r--r-- | t/02getkey.c | 8 |
1 files changed, 4 insertions, 4 deletions
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"); |