diff options
Diffstat (limited to 'src/cmd/9term')
-rw-r--r-- | src/cmd/9term/rcstart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/9term/rcstart.c b/src/cmd/9term/rcstart.c index c137b8f8..4d64349c 100644 --- a/src/cmd/9term/rcstart.c +++ b/src/cmd/9term/rcstart.c @@ -77,10 +77,10 @@ rcstart(int argc, char **argv, int *pfd, int *tfd) */ notifyoff("sys: window size change"); + putenv("TERM", "9term"); pid = fork(); switch(pid){ case 0: - putenv("TERM", "9term"); sfd = childpty(fd, slave); dup(sfd, 0); dup(sfd, 1); |