updated for version 7.0051
diff --git a/src/ui.c b/src/ui.c
index dd410c5..6d100dc 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -58,8 +58,7 @@
#endif
}
-#if (defined(FEAT_GUI) && (defined(UNIX) || defined(VMS))) \
- || defined(MACOS_X_UNIX) || defined(PROTO)
+#if defined(UNIX) || defined(VMS) || defined(PROTO)
/*
* When executing an external program, there may be some typed characters that
* are not consumed by it. Give them back to ui_inchar() and they are stored
@@ -1761,6 +1760,7 @@
# if 0
) /* avoid syntax highlight error */
# endif
+
if (len > 0 || got_int)
break;
/*