mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Force xterm as TERM in tty mode
This commit is contained in:
parent
211ed0a766
commit
c85db1003b
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ func (container *Container) Start() error {
|
|||
var err error
|
||||
if container.Config.Tty {
|
||||
container.cmd.Env = append(container.Config.Env,
|
||||
"TERM="+os.Getenv("TERM"),
|
||||
"TERM=xterm",
|
||||
)
|
||||
err = container.startPty()
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue