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

Commit d9a77ea

Browse files
authored
Merge pull request #61 from cdr/hotfix-term
Hotfix terminal env var
2 parents c6be883 + 62a02e3 commit d9a77ea

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)