From 655293ece94191bfba95eb0f4e9305595b3c6f87 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sun, 25 May 2014 15:22:21 -0700 Subject: [PATCH] input_readch must return R_EOF instead of WEOF. Fixes #1452 --- input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input.cpp b/input.cpp index 3b135cf19..1367c88ea 100644 --- a/input.cpp +++ b/input.cpp @@ -710,7 +710,7 @@ wint_t input_readch() { case R_EOF: /* If it's closed, then just return */ { - return WEOF; + return R_EOF; } case R_SELF_INSERT: {