diff --git a/cmd/coder/shell.go b/cmd/coder/shell.go index 9c641acf..9961092f 100644 --- a/cmd/coder/shell.go +++ b/cmd/coder/shell.go @@ -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