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

Hotfix terminal env var #61

Merged
merged 1 commit into from
Jun 26, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Hotfix terminal env var
Change-Id: Ib14368ae380da269bcb7de8cfd04dffedc783358
  • Loading branch information
cmoog committed Jun 26, 2020
commit 62a02e36f2350c4b0fb8bf3bbaf13ae3aaf109a7
1 change: 1 addition & 0 deletions cmd/coder/shell.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ func runCommand(ctx context.Context, envName string, command string, args []stri
Args: args,
TTY: tty,
Stdin: true,
Env: []string{"TERM=" + os.Getenv("TERM")},
})
if err != nil {
return err
Expand Down