From 991892fff518f59f02bbe1c8a4637843a82bd74e Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Tue, 27 Sep 2016 23:30:10 +0200
Subject: Allow specifying terminal name in termo_new()
---
tests/05read.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'tests')
diff --git a/tests/05read.c b/tests/05read.c
index 226acca..67f2092 100644
--- a/tests/05read.c
+++ b/tests/05read.c
@@ -21,7 +21,7 @@ main (int argc, char *argv[])
// Sanitise this just in case
putenv ("TERM=vt100");
- tk = termo_new (fd[0], NULL, TERMO_FLAG_NOTERMIOS);
+ tk = termo_new (fd[0], NULL, NULL, TERMO_FLAG_NOTERMIOS);
is_int (termo_get_buffer_remaining (tk), 256,
"buffer free initially 256");
--
cgit v1.2.3-70-g09d2