EDIT: ESC now cancels at y/n prompt.

This commit is contained in:
Bobbi Webber-Manners 2020-08-04 20:25:05 -04:00
parent bc56885dee
commit 3a28375bcb

View File

@ -281,7 +281,7 @@ char prompt_okay(char *msg) {
revers(0);
while (1) {
c = cgetc();
if ((c == 'y') || (c == 'Y') || (c == 'n') || (c == 'N'))
if ((c == 'y') || (c == 'Y') || (c == 'n') || (c == 'N') || c == ESC)
break;
beep();
}