updated for version 7.0077
diff --git a/src/ui.c b/src/ui.c
index 3506c48..89b5cd6 100644
--- a/src/ui.c
+++ b/src/ui.c
@@ -1696,7 +1696,13 @@
#endif
#ifdef FEAT_GUI
- if (gui.in_use)
+ if (gui.in_use
+# ifdef NO_CONSOLE_INPUT
+ /* Don't use the GUI input when the window hasn't been opened yet.
+ * We get here from ui_inchar() when we should try reading from stdin. */
+ && !no_console_input()
+# endif
+ )
{
gui_mch_update();
return;
@@ -2140,7 +2146,7 @@
clip_yank_selection(MCHAR, buffer, (long)nbytes, cbd);
XFree((void *)buffer);
if (p_verbose > 0)
- MSG(_("Used CUT_BUFFER0 instead of empty selection"));
+ verb_msg((char_u *)_("Used CUT_BUFFER0 instead of empty selection"));
}
}