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 IO#tty? in Win32 #14421

Merged
merged 2 commits into from
Apr 15, 2024

Conversation

HertzDevil
Copy link
Contributor

Originally Socket#tty? was made to return false because LibC._isatty requires a C file descriptor and we didn't want to transfer handle ownership from Win32 to the CRT. This is no longer true.

@straight-shoota straight-shoota added this to the 1.13.0 milestone Apr 2, 2024
@straight-shoota straight-shoota merged commit 2383ec1 into crystal-lang:master Apr 15, 2024
58 checks passed
@HertzDevil HertzDevil deleted the refactor/win32-io-tty branch April 16, 2024 05:16
@crysbot
Copy link

crysbot commented Apr 16, 2024

This pull request has been mentioned on Crystal Forum. There might be relevant details there:

https://forum.crystal-lang.org/t/tty-on-windows/6769/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants