Skip to content
New issue

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

[Lazy] Use host TERM #460

Merged
merged 1 commit into from
Oct 17, 2024
Merged

[Lazy] Use host TERM #460

merged 1 commit into from
Oct 17, 2024

Conversation

greedybro
Copy link
Contributor

@greedybro greedybro commented Oct 16, 2024

Pass host TERM environment variable to system container, to benefit - among other things - from more colors in cli when available.

Note that OpenSSH does exactly the same when connecting to an another host.

Note also the default xterm TERM we use; docker itself does the same: https://github.com/docker-archive/docker-ce/blob/7772923773ab88e8f7d20528a24f882014e0d8e4/components/engine/container/container.go#L736-L744

@nervo nervo force-pushed the lazy/use_host_term branch from 8f711e7 to 78142fd Compare October 17, 2024 05:55
@greedybro greedybro merged commit 1c7148b into master Oct 17, 2024
6 checks passed
@greedybro greedybro deleted the lazy/use_host_term branch October 17, 2024 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants