Replace getch with readch
This commit is contained in:
parent
1116bfbcce
commit
c12d5056a3
1 changed files with 1 additions and 1 deletions
2
ccc.c
2
ccc.c
|
@ -1016,7 +1016,7 @@ void toggle_executable(void)
|
||||||
struct stat st;
|
struct stat st;
|
||||||
if (stat(f.path, &st) == -1) {
|
if (stat(f.path, &st) == -1) {
|
||||||
wpprintw("stat failed: %s (Press any key to continue)", strerror(errno));
|
wpprintw("stat failed: %s (Press any key to continue)", strerror(errno));
|
||||||
getch();
|
readch();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (f.type == DRY)
|
if (f.type == DRY)
|
||||||
|
|
Loading…
Reference in a new issue