Skip to content

Implement TTY::get_winsize for Windows #20612

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

Merged
merged 1 commit into from
Jan 7, 2015

Conversation

retep998
Copy link
Member

@retep998 retep998 commented Jan 6, 2015

This calculates the width and height using the bounding box of the window in the buffer. Bounding box coordinates are inclusive so I have to add 1 to both dimensions.

@rust-highfive
Copy link
Contributor

r? @nikomatsakis

(rust_highfive has picked a reviewer for you, use r? to override)

@alexcrichton
Copy link
Member

Just confirming, you've run this locally and it's produced the expected results?

@retep998
Copy link
Member Author

retep998 commented Jan 6, 2015

@alexcrichton
Copy link
Member

Thanks!

alexcrichton added a commit to alexcrichton/rust that referenced this pull request Jan 7, 2015
This calculates the width and height using the bounding box of the window in the buffer. Bounding box coordinates are inclusive so I have to add 1 to both dimensions.
@alexcrichton alexcrichton merged commit 351e6b7 into rust-lang:master Jan 7, 2015
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.

5 participants