From 6d6afe788c3ec1f320e12449eee230fb366228c5 Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Wed, 18 Jan 2012 14:03:39 +0000 Subject: Allow passing fd = -1 to constructor to make an instance not associated with an fd; must use push_bytes to provide it input --- t/01base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/01base.c') diff --git a/t/01base.c b/t/01base.c index 359c9ca..88e2c84 100644 --- a/t/01base.c +++ b/t/01base.c @@ -8,7 +8,7 @@ int main(int argc, char *argv[]) plan_tests(2); - tk = termkey_new(0, TERMKEY_FLAG_NOTERMIOS); + tk = termkey_new(-1, 0); ok(!!tk, "termkey_new"); -- cgit v1.2.3