diff --git a/ccc.c b/ccc.c index bff23c5..cfe5ea8 100644 --- a/ccc.c +++ b/ccc.c @@ -1016,7 +1016,7 @@ void toggle_executable(void) struct stat st; if (stat(f.path, &st) == -1) { wpprintw("stat failed: %s (Press any key to continue)", strerror(errno)); - getch(); + readch(); return; } if (f.type == DRY)