Skip to content
This repository was archived by the owner on Aug 30, 2024. It is now read-only.

Commit 62a02e3

Browse files
committed
Hotfix terminal env var
Change-Id: Ib14368ae380da269bcb7de8cfd04dffedc783358
1 parent c6be883 commit 62a02e3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/coder/shell.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ func runCommand(ctx context.Context, envName string, command string, args []stri
135135
Args: args,
136136
TTY: tty,
137137
Stdin: true,
138+
Env: []string{"TERM=" + os.Getenv("TERM")},
138139
})
139140
if err != nil {
140141
return err

0 commit comments

Comments
 (0)