Skip to content

Commit 0522cd8

Browse files
committed
webspace/login: Fix TERM variable not set
1 parent 1d2e7c0 commit 0522cd8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/cmd/webspace/exec.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,8 @@ func runLogin(opts loginOptions) error {
321321
User: opts.User,
322322
OutputFormat: "interactive",
323323
Request: webspaced.ExecInteractiveRequest{
324-
Command: []string{shell},
324+
Command: []string{shell},
325+
Environment: map[string]string{"TERM": util.GetTERM()},
325326
},
326327
})
327328
}

0 commit comments

Comments
 (0)