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

Fix informational command-line arguments not working with -console #1168

Merged
merged 1 commit into from
Jun 4, 2024

Commits on Jun 4, 2024

  1. Fix info args not working with -console

    The intention of the `-console` argument was to enable seeing console
    output on Windows without having to use workarounds. However, this
    didn't actually work for arguments like `-addresses` and `-version`,
    because the program would exit first before it could get the chance to
    create the console.
    
    The other issue is that the console closes too quickly before output can
    be read by the user. So to fix that, we must hold it open and let the
    user close it when they want to by waiting for an enter press from
    STDIN.
    InfoTeddy committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    c41bf43 View commit details
    Browse the repository at this point in the history