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

Detect a Windows console handle correctly using GetConsoleMode #1135

Merged
merged 1 commit into from
Feb 16, 2020

Commits on Feb 16, 2020

  1. Detect a Windows console handle correctly using GetConsoleMode

    isatty returns True for the NUL device on Windows. So use GetConsoleMode instead to detect
    a console handle.
    
    See https://bugs.python.org/issue28654
    
    Fixes pallets#1065
    segevfiner authored and davidism committed Feb 16, 2020
    Configuration menu
    Copy the full SHA
    3f49ec2 View commit details
    Browse the repository at this point in the history