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

tool_getpass: replace getch() call with _getch() on Windows #15642

Closed
wants to merge 1 commit into from

Conversation

vszakats
Copy link
Member

@vszakats vszakats commented Nov 26, 2024

getch() is deprecated according to MSDN:
https://learn.microsoft.com/cpp/c-runtime-library/reference/getch
"The Microsoft-specific function name getch is a deprecated alias
for the _getch function."

Ref: https://learn.microsoft.com/cpp/c-runtime-library/reference/getch-getwch

Follow-up to 72edb22 #15638

@vszakats vszakats added cmdline tool Windows Windows-specific labels Nov 26, 2024
@vszakats vszakats changed the title tool_getpass: use _getch() on Windows tool_getpass: replace getch() with _getch() on Windows Nov 26, 2024
@vszakats vszakats changed the title tool_getpass: replace getch() with _getch() on Windows tool_getpass: replace call to getch() with _getch() on Windows Nov 26, 2024
@vszakats vszakats changed the title tool_getpass: replace call to getch() with _getch() on Windows tool_getpass: replace getch() call with _getch() on Windows Nov 26, 2024
@vszakats vszakats closed this in 7660a28 Nov 27, 2024
@vszakats vszakats deleted the w_getch branch November 27, 2024 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cmdline tool Windows Windows-specific
Development

Successfully merging this pull request may close these issues.

2 participants