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

Implement native method to obtain the window size on Windows #34

Merged
merged 4 commits into from
Mar 30, 2020

Conversation

ilai-deutel
Copy link
Owner

Use GetConsoleScreenBufferInfo to obtain the window size; fall back to the ANSI escape sequence based method if the native method fails.

@ilai-deutel ilai-deutel merged commit 442032d into master Mar 30, 2020
@ilai-deutel ilai-deutel deleted the windows-native-get-wsize branch March 30, 2020 23: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
Development

Successfully merging this pull request may close these issues.

1 participant