1
0
Fork 0
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:
Guillaume J. Charmes 2013-03-25 19:20:18 -07:00
parent 211ed0a766
commit c85db1003b

View file

@ -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 {