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