updated for version 7.0f04
diff --git a/src/gui.c b/src/gui.c
index 9a69a09..fe12864 100644
--- a/src/gui.c
+++ b/src/gui.c
@@ -3394,6 +3394,11 @@
 
     if (!gui.starting && starting == 0)
     {
+	/* Updating the tabline uses direct GUI commands, flush
+	 * outstanding instructions first. (esp. clear screen) */
+	out_flush();
+	gui_mch_flush();
+
 	if (!showit != !shown)
 	    gui_mch_show_tabline(showit);
 	if (showit != 0)