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

Deprecate IsConsole in favor of "golang.org/x/.." implementations #10

Merged
merged 1 commit into from May 7, 2020

Conversation

thaJeztah
Copy link
Member

@thaJeztah thaJeztah commented May 7, 2020

This removes the github.com/Azure/go-ansiterm/winterm dependency from the windowsconsole package, and replaces it with golang.org/x/sys/windows.

Marking this function as deprecated, given that this functionality is already provided by the "standard" golang.org/x/.. packages.

windows/console.go Outdated Show resolved Hide resolved
@thaJeztah thaJeztah changed the title Deprecate IsConsole Deprecate IsConsole in favor of "golang.org/x/.." implementations May 7, 2020
windows/console.go Outdated Show resolved Hide resolved
This removes the github.com/Azure/go-ansiterm/winterm dependency
from the windowsconsole package, and replaces it with
`golang.org/x/sys/windows`.

Marking this function as deprecated, given that this functionality
is already provided by the "standard" `golang.org/x/..` packages.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Copy link
Contributor

@tklauser tklauser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@claudiubelu
Copy link

Looks good to me.

Copy link
Member

@cpuguy83 cpuguy83 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cpuguy83 cpuguy83 merged commit a2ece12 into moby:master May 7, 2020
@thaJeztah thaJeztah deleted the deprecate_isconsole branch May 7, 2020 19:39
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.

None yet

4 participants