aboutsummaryrefslogtreecommitdiff
path: root/t/02getkey.c
diff options
context:
space:
mode:
Diffstat (limited to 't/02getkey.c')
-rw-r--r--t/02getkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/02getkey.c b/t/02getkey.c
index 6d076cb..0c893c6 100644
--- a/t/02getkey.c
+++ b/t/02getkey.c
@@ -12,7 +12,7 @@ int main(int argc, char *argv[])
/* Sanitise this just in case */
putenv("TERM=vt100");
- tk = termkey_new(0, TERMKEY_FLAG_NOTERMIOS);
+ tk = termkey_new(-1, 0);
is_int(termkey_get_buffer_remaining(tk), 256, "buffer free initially 256");