Skip to content

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
pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025
`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 curl#15638
Closes curl#15642
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