diff --git a/src/winio.c b/src/winio.c index 47ccb21f..abda5ee1 100644 --- a/src/winio.c +++ b/src/winio.c @@ -142,13 +142,6 @@ void get_key_buffer(WINDOW *win) return; while (input == ERR) { - /* If we've failed to get a character MAX_BUF_SIZE times in a row, - * assume our input source is gone and die gracefully. We could - * check if errno is set to EIO ("Input/output error") and die in - * that case, but it's not always set properly. Argh. */ - if (++errcount == MAX_BUF_SIZE) - die(_("Too many errors from stdin")); - #ifndef NANO_TINY if (the_window_resized) { regenerate_screen();