From 5597856762859f73360f4b168befe695f472424d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Mon, 15 Jul 2019 12:36:00 +0200 Subject: [PATCH] main: set TERM=xterm-direct --- main.c | 1 + 1 file changed, 1 insertion(+) diff --git a/main.c b/main.c index aa4b2f18..0e3c77bb 100644 --- a/main.c +++ b/main.c @@ -295,6 +295,7 @@ main(int argc, char *const *argv) } setlocale(LC_ALL, ""); + setenv("TERM", "xterm-direct", 1); /* TODO: configurable */ int repeat_pipe_fds[2] = {-1, -1}; if (pipe2(repeat_pipe_fds, O_CLOEXEC) == -1) {