diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2013-08-26 01:14:35 +0100 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2013-08-26 01:14:35 +0100 |
commit | a36648e1721367e3e423be7a567aeeafc25e3f54 (patch) | |
tree | aa2893c988a77e49efd567b300e44c9f3bc57ac8 /t/12strpkey.c | |
parent | 24abb0c59e78c2b7a660ca05f5afb6c514555ca5 (diff) | |
download | termo-a36648e1721367e3e423be7a567aeeafc25e3f54.tar.gz termo-a36648e1721367e3e423be7a567aeeafc25e3f54.tar.xz termo-a36648e1721367e3e423be7a567aeeafc25e3f54.zip |
Added TERMKEY_FORMAT_LOWERMOD
Diffstat (limited to 't/12strpkey.c')
-rw-r--r-- | t/12strpkey.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/t/12strpkey.c b/t/12strpkey.c index 9f20883..099fe9a 100644 --- a/t/12strpkey.c +++ b/t/12strpkey.c @@ -86,12 +86,12 @@ int main(int argc, char *argv[]) is_str(endp, "", "consumed entire input for unicode/c/ALT altismeta+longmod"); CLEAR_KEY; - endp = termkey_strpkey(tk, "Meta c", &key, TERMKEY_FORMAT_ALTISMETA|TERMKEY_FORMAT_LONGMOD|TERMKEY_FORMAT_SPACEMOD); - is_int(key.type, TERMKEY_TYPE_UNICODE, "key.type for unicode/c/ALT altismeta+long/lowermod"); - is_int(key.code.codepoint, 'c', "key.code.codepoint for unicode/c/ALT altismeta+long/lowermod"); - is_int(key.modifiers, TERMKEY_KEYMOD_ALT, "key.modifiers for unicode/c/ALT altismeta+long/lowermod"); - is_str(key.utf8, "c", "key.utf8 for unicode/c/ALT altismeta+long/lowermod"); - is_str(endp, "", "consumed entire input for unicode/c/ALT altismeta+longmod"); + endp = termkey_strpkey(tk, "meta c", &key, TERMKEY_FORMAT_ALTISMETA|TERMKEY_FORMAT_LONGMOD|TERMKEY_FORMAT_SPACEMOD|TERMKEY_FORMAT_LOWERMOD); + is_int(key.type, TERMKEY_TYPE_UNICODE, "key.type for unicode/c/ALT altismeta+long/space+lowermod"); + is_int(key.code.codepoint, 'c', "key.code.codepoint for unicode/c/ALT altismeta+long/space+lowermod"); + is_int(key.modifiers, TERMKEY_KEYMOD_ALT, "key.modifiers for unicode/c/ALT altismeta+long/space+lowermod"); + is_str(key.utf8, "c", "key.utf8 for unicode/c/ALT altismeta+long/space_lowermod"); + is_str(endp, "", "consumed entire input for unicode/c/ALT altismeta+long/space+lowermod"); CLEAR_KEY; endp = termkey_strpkey(tk, "Up", &key, 0); |