Automatic merge from release/2.3.0 -> release/2.4.0

* commit 'b3221c24bf56a3f31bb5f6abb5c6383fd668a33a':
  替换使用xterm-256color
This commit is contained in:
邱剑
2018-11-15 20:15:31 +08:00
+1 -1
View File
@@ -85,7 +85,7 @@ func NewSSHtoolSolCommand(ctx context.Context, userCred mcclient.TokenCredential
func (c *SSHtoolSol) GetCommand() *exec.Cmd {
if c.BaseCommand != nil {
cmd := c.BaseCommand.GetCommand()
cmd.Env = append(cmd.Env, "TERM=screen-256color")
cmd.Env = append(cmd.Env, "TERM=xterm-256color")
return cmd
}
return nil