Fix "press Enter key" message

The message said "Press any key to continue...", whereas only
Enter/Return is accepted.

PR #1783 <https://github.com/Genymobile/scrcpy/pull/1783>
Fixes #1757 <https://github.com/Genymobile/scrcpy/issues/1757>

Reviewed-by: Yu-Chen Lin <npes87184@gmail.com>
Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
Brinan Sjostrom 2020-09-22 18:02:18 -04:00 committed by Romain Vimont
parent acc65f8c9d
commit 56d237f152
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ main(int argc, char *argv[]) {
#if defined (__WINDOWS__) && ! defined (WINDOWS_NOCONSOLE)
if (res != 0) {
fprintf(stderr, "Press any key to continue...\n");
fprintf(stderr, "Press Enter to continue...\n");
getchar();
}
#endif