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:
committed by
Romain Vimont
parent
acc65f8c9d
commit
56d237f152
@@ -100,7 +100,7 @@ main(int argc, char *argv[]) {
|
|||||||
|
|
||||||
#if defined (__WINDOWS__) && ! defined (WINDOWS_NOCONSOLE)
|
#if defined (__WINDOWS__) && ! defined (WINDOWS_NOCONSOLE)
|
||||||
if (res != 0) {
|
if (res != 0) {
|
||||||
fprintf(stderr, "Press any key to continue...\n");
|
fprintf(stderr, "Press Enter to continue...\n");
|
||||||
getchar();
|
getchar();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user