main: use our own terminfo 'foot' by default

This commit is contained in:
Daniel Eklöf 2019-07-18 14:14:05 +02:00
parent b6b92a742d
commit 67583540b4
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

2
main.c
View file

@ -312,7 +312,7 @@ main(int argc, char *const *argv)
argv += optind;
setlocale(LC_ALL, "");
setenv("TERM", "xterm-direct", 1); /* TODO: configurable */
setenv("TERM", "foot", 1); /* TODO: configurable */
int repeat_pipe_fds[2] = {-1, -1};
if (pipe2(repeat_pipe_fds, O_CLOEXEC) == -1) {