diff --git a/src/winio.c b/src/winio.c index b27af3e311e0242cb0d689a7103c68c088b3d56a..1c4aa2bc3ba0b5359ec77109547a25ac200389fe 100644 --- a/src/winio.c +++ b/src/winio.c @@ -142,7 +142,7 @@ void get_key_buffer(WINDOW *win) * 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) - handle_hupterm(0); + die(_("Too many errors from stdin")); #ifndef NANO_TINY if (the_window_resized) {