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

Use IoctlGetWinsize to get term dimensions #1

Merged

Conversation

jcharum
Copy link

@jcharum jcharum commented Oct 8, 2020

Fix forward to use unix.IoctlGetWinsize to get terminal dimensions. unix.SYS_IOCTL does not exist on Darwin in the upgradedgolang.org/x/sys/unix, so rather than fixing back to use the deprecated syscall package, use the updated/supported API.

@matthewloring matthewloring merged commit b032968 into matthewloring:matt-deps Oct 8, 2020
@jcharum jcharum deleted the status-use-ioctl-get-winsize branch October 19, 2020 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants