main: set TERM=xterm-direct

This commit is contained in:
Daniel Eklöf 2019-07-15 12:36:00 +02:00
parent 03b9cf2a22
commit 5597856762
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

1
main.c
View file

@ -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) {