mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-01 01:40:13 -05:00
conf: TERM can now be set in footrc
This commit is contained in:
parent
d5157c15b0
commit
7e36027237
3 changed files with 11 additions and 4 deletions
2
main.c
2
main.c
|
|
@ -312,7 +312,7 @@ main(int argc, char *const *argv)
|
|||
argv += optind;
|
||||
|
||||
setlocale(LC_ALL, "");
|
||||
setenv("TERM", "foot", 1); /* TODO: configurable */
|
||||
setenv("TERM", conf.term, 1);
|
||||
|
||||
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