aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.c1
1 files changed, 1 insertions, 0 deletions
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) {