mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-09-19 10:46:58 +08:00
替换使用xterm-256color
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user