diff --git a/src/conio/console.c b/src/conio/console.c
index 91454e39e96ac269047ca53f82766143ac194c11..ca0be6a3332f21aa86da59d9f64d03d2f9d11b61 100644
--- a/src/conio/console.c
+++ b/src/conio/console.c
@@ -471,6 +471,9 @@ video_update_text()
 		}
 		lines[r].changed = 0;
 		memset(lines[r].exposed,0,CONSOLE_MAX_COLS * sizeof(u_char));
+		if(flush)
+			x11.XFlush(dpy);
+		flush=0;
 	}
 
 	if (CursStart <= CursEnd && CursEnd <= FH &&
@@ -490,15 +493,13 @@ video_update_text()
 			   2 +CursCol * FW,
 			   2 + CursRow * FH + CursStart * FS,
 			   FW, (CursEnd + 1)*FS - (CursStart*FS));
-		flush=1;
+		x11.XFlush(dpy);
 	}
 
 	or =CursRow;
 	oc =CursCol;
 	os =show;
 
-	if(flush)
-		x11.XFlush(dpy);
 }
 
 void