Problem: A shell command in the vimrc causes terminal output.
Solution: Do not call starttermcap() after a shell command if the termcap
wasn't active before.
#endif
#ifdef MSWIN
int winstart = FALSE;
- int keep_termcap = FALSE;
#endif
+ int keep_termcap = !termcap_active;
/*
* Disallow shell commands for "rvim".
msg_putchar('\r'); // put cursor at start of line
if (!autocmd_busy)
{
-#ifdef MSWIN
if (!keep_termcap)
-#endif
stoptermcap();
}
#ifdef MSWIN
}
#endif // FEAT_GUI_MSWIN
-#ifdef MSWIN
if (!keep_termcap) // if keep_termcap is TRUE didn't stop termcap
-#endif
starttermcap(); // start termcap if not done by wait_return()
/*
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2307,
/**/
2306,
/**/