diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2012-01-18 14:03:39 +0000 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2012-01-18 14:03:39 +0000 |
commit | 6d6afe788c3ec1f320e12449eee230fb366228c5 (patch) | |
tree | a7f17b111e20dbe67bcaf5067f2ecd9c00d9f1db /t/10keyname.c | |
parent | 82ad14175cbcc7c0c660720c7a31f8e6f1cefe4e (diff) | |
download | termo-6d6afe788c3ec1f320e12449eee230fb366228c5.tar.gz termo-6d6afe788c3ec1f320e12449eee230fb366228c5.tar.xz termo-6d6afe788c3ec1f320e12449eee230fb366228c5.zip |
Allow passing fd = -1 to constructor to make an instance not associated with an fd; must use push_bytes to provide it input
Diffstat (limited to 't/10keyname.c')
-rw-r--r-- | t/10keyname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/10keyname.c b/t/10keyname.c index 54bc208..7a35ad7 100644 --- a/t/10keyname.c +++ b/t/10keyname.c @@ -9,7 +9,7 @@ int main(int argc, char *argv[]) plan_tests(10); - tk = termkey_new(0, TERMKEY_FLAG_NOTERMIOS); + tk = termkey_new(-1, 0); sym = termkey_keyname2sym(tk, "Space"); is_int(sym, TERMKEY_SYM_SPACE, "keyname2sym Space"); |