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

Determine terminal size on MinTTY and Cywin #33

Open
adammurdoch opened this issue Apr 23, 2019 · 1 comment
Open

Determine terminal size on MinTTY and Cywin #33

adammurdoch opened this issue Apr 23, 2019 · 1 comment

Comments

@adammurdoch
Copy link
Contributor

No description provided.

@sschuberth
Copy link

Any hint on what's left to do to resolve this? According to the code at mintty/mintty#1071, calling ioctl(1, TIOCGWINSZ, &ws); should work to get the number of rows / columns. And as there already is

int retval = ioctl(output + 1, TIOCGWINSZ, &screen_size);

I'm wondering whether it shouldn't "just work"?

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

No branches or pull requests

2 participants