Skip to content

Commit

Permalink
Use xterm-256color when creating terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanp413 authored and roboquat committed Jun 13, 2022
1 parent 853b9e7 commit 1dfc504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/supervisor/pkg/terminal/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func (srv *MuxTerminalService) OpenWithOptions(ctx context.Context, req *api.Ope
if cmd.Dir == "" {
cmd.Dir = srv.DefaultWorkdir
}
cmd.Env = append(srv.Env, "TERM=xterm-color")
cmd.Env = append(srv.Env, "TERM=xterm-256color")
for key, value := range req.Env {
cmd.Env = append(cmd.Env, fmt.Sprintf("%v=%v", key, value))
}
Expand Down

0 comments on commit 1dfc504

Please sign in to comment.