We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
if you run the following simple test code under 1.5rc1
func TestTermEnv(t *testing.T) { fmt.Printf("%s\n",os.Getenv("TERM")) }
you will get the wrong TERM variable, while the correct result should be "xterm" prefixed.
$go test dumb
the environment:
$ uname -a Darwin wangs-MacBook.local 14.4.0 Darwin Kernel Version 14.4.0: Thu May 28 11:35:04 PDT 2015; root:xnu-2782.30.5~1/RELEASE_X86_64 x86_64 $ go version go version go1.5rc1 darwin/amd64 $ env | grep TERM TERM_PROGRAM=Apple_Terminal TERM=xterm-256color TERM_PROGRAM_VERSION=343.7 TERM_SESSION_ID=0033F701-265E-4DF7-B4DA-2FD9C735BD4A
i notice there is a default "dumb" value for TERM env. is this the correct default value? the previous issue #11449 only solve the "go run" case.
The text was updated successfully, but these errors were encountered:
This is the second environment bug we've had because the compilation environment leaked into execution. We probably need separate environments.
Sorry, something went wrong.
CL https://golang.org/cl/13449 mentions this issue.
58035ec
No branches or pull requests
if you run the following simple test code under 1.5rc1
you will get the wrong TERM variable, while the correct result should be "xterm" prefixed.
the environment:
i notice there is a default "dumb" value for TERM env. is this the correct default value?
the previous issue #11449 only solve the "go run" case.
The text was updated successfully, but these errors were encountered: