We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a08e28 commit dc6daa9Copy full SHA for dc6daa9
1 file changed
lib/termexec/termexec.go
@@ -34,6 +34,10 @@ func StartProcess(ctx context.Context, args StartProcessConfig) (*Process, error
34
return nil, err
35
}
36
execCmd := exec.Command(args.Program, args.Args...)
37
+ // vt100 is the terminal type that the vt10x library emulates.
38
+ // Setting this signals to the process that it should only use compatible
39
+ // escape sequences.
40
+ execCmd.Env = append(os.Environ(), "TERM=vt100")
41
if err := xp.StartProcessInTerminal(execCmd); err != nil {
42
43
0 commit comments