Fix stale references to getch()

This commit is contained in:
Mahmoud Al-Qudsi
2022-09-16 17:05:38 -05:00
parent f1266dd8f5
commit f97650bf9a
2 changed files with 2 additions and 2 deletions

View File

@@ -221,7 +221,7 @@ maybe_t<char_event_t> input_event_queue_t::readch_timed() {
}
// We are not prepared to handle a signal immediately; we only want to know if we get input on
// our fd before the timeout. Use pselect to block all signals; we will handle signals
// before the next call to getch().
// before the next call to readch().
sigset_t sigs;
sigfillset(&sigs);