mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-21 01:40:16 -05:00
main: set TERM=xterm-direct
This commit is contained in:
parent
03b9cf2a22
commit
5597856762
1 changed files with 1 additions and 0 deletions
1
main.c
1
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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue