aboutsummaryrefslogtreecommitdiff
path: root/t/03utf8.c
diff options
context:
space:
mode:
Diffstat (limited to 't/03utf8.c')
-rw-r--r--t/03utf8.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/t/03utf8.c b/t/03utf8.c
index bb97328..bf41d50 100644
--- a/t/03utf8.c
+++ b/t/03utf8.c
@@ -8,10 +8,7 @@ int main(int argc, char *argv[])
plan_tests(57);
- /* Sanitise this just in case */
- putenv("TERM=vt100");
-
- tk = termkey_new(-1, TERMKEY_FLAG_UTF8);
+ tk = termkey_new_abstract("vt100", TERMKEY_FLAG_UTF8);
termkey_push_bytes(tk, "a", 1);