From c85db1003be5d7cce4c5f94993980acc82db24d3 Mon Sep 17 00:00:00 2001 From: "Guillaume J. Charmes" Date: Mon, 25 Mar 2013 19:20:18 -0700 Subject: [PATCH] Force xterm as TERM in tty mode --- container.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/container.go b/container.go index 7693f85a98..d062262dfe 100644 --- a/container.go +++ b/container.go @@ -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 {