Skip to content
This repository has been archived by the owner on May 19, 2019. It is now read-only.

Implement stdin_isatty() for Windows #1

Open
dtolnay opened this issue Jun 6, 2016 · 3 comments
Open

Implement stdin_isatty() for Windows #1

dtolnay opened this issue Jun 6, 2016 · 3 comments

Comments

@dtolnay
Copy link
Owner

dtolnay commented Jun 6, 2016

No description provided.

@jethrogb
Copy link

Is this just the trivial change I think it is? Or is there something hard about the Windows case? I'd be happy to contribute the former.

@dtolnay
Copy link
Owner Author

dtolnay commented Oct 11, 2017

I added a unix-only implementation in 5f2bb3d and published 0.1.4. I will let someone who needs Windows support implement that part!

@dtolnay dtolnay changed the title Add stdin_isatty() Implement stdin_isatty() for Windows Oct 11, 2017
@akavel
Copy link

akavel commented Jul 2, 2018

Per https://github.com/mattn/go-isatty/blob/master/isatty_windows.go, I believe GetConsoleMode should work for stdin too...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants