From c12d5056a39c73712c0466e606eb82bce5294f08 Mon Sep 17 00:00:00 2001 From: night0721 Date: Sun, 17 Nov 2024 18:38:22 +0000 Subject: [PATCH] Replace getch with readch --- ccc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)