Problem: Get hit-enter prompt for system() when '!' is in 'guioptions'.
Solution: Do not call wait_return() when not redrawing. (closes #3327)
// restore curwin/curbuf and a few other things
aucmd_restbuf(&aco);
- wait_return(TRUE);
+ // only require pressing Enter when redrawing, to avoid that system() gets
+ // the hit-enter prompt even though it didn't output anything.
+ if (!RedrawingDisabled)
+ wait_return(TRUE);
do_buffer(DOBUF_WIPE, DOBUF_FIRST, FORWARD, buf->b_fnum, TRUE);
theend:
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 100,
/**/
99,
/**/