mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-04 13:29:51 -05:00
Set terminal type to vt100.
This commit is contained in:
parent
b7037a02f0
commit
c8c5d5872d
1 changed files with 1 additions and 0 deletions
|
|
@ -569,6 +569,7 @@ terminal_run(struct terminal *terminal, const char *path)
|
||||||
pid = forkpty(&master, NULL, NULL, NULL);
|
pid = forkpty(&master, NULL, NULL, NULL);
|
||||||
if (pid == 0) {
|
if (pid == 0) {
|
||||||
close(master);
|
close(master);
|
||||||
|
setenv("TERM", "vt100", 1);
|
||||||
if (execl(path, path, NULL)) {
|
if (execl(path, path, NULL)) {
|
||||||
printf("exec failed: %m\n");
|
printf("exec failed: %m\n");
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue