aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2016-09-27 23:30:10 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2016-09-27 23:30:10 +0200
commit991892fff518f59f02bbe1c8a4637843a82bd74e (patch)
treef8bb934a4481582789c5ecdee92233bd4d183369 /tests
parent9ec09b90c9bb023bb69a6b703ce4df40d397f5e6 (diff)
downloadtermo-term-string.tar.gz
termo-term-string.tar.xz
termo-term-string.zip
Allow specifying terminal name in termo_new()term-string
Diffstat (limited to 'tests')
-rw-r--r--tests/05read.c2
1 files changed, 1 insertions, 1 deletions
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");