diff options
Diffstat (limited to 't/11strfkey.c')
-rw-r--r-- | t/11strfkey.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/11strfkey.c b/t/11strfkey.c index 00ed847..50cf80a 100644 --- a/t/11strfkey.c +++ b/t/11strfkey.c @@ -13,7 +13,7 @@ int main(int argc, char *argv[]) tk = termkey_new(0, TERMKEY_FLAG_NOTERMIOS); key.type = TERMKEY_TYPE_UNICODE; - key.code.number = 'A'; + key.code.codepoint = 'A'; key.modifiers = 0; key.utf8[0] = 0; @@ -26,7 +26,7 @@ int main(int argc, char *argv[]) is_str(buffer, "A", "buffer for unicode/A/0 wrapbracket"); key.type = TERMKEY_TYPE_UNICODE; - key.code.number = 'b'; + key.code.codepoint = 'b'; key.modifiers = TERMKEY_KEYMOD_CTRL; key.utf8[0] = 0; @@ -47,7 +47,7 @@ int main(int argc, char *argv[]) is_str(buffer, "<C-b>", "buffer for unicode/b/CTRL wrapbracket"); key.type = TERMKEY_TYPE_UNICODE; - key.code.number = 'c'; + key.code.codepoint = 'c'; key.modifiers = TERMKEY_KEYMOD_ALT; key.utf8[0] = 0; |