summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libunix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/libunix.cc')
-rw-r--r--crawl-ref/source/libunix.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/libunix.cc b/crawl-ref/source/libunix.cc
index 09c01ce817..317ba174d7 100644
--- a/crawl-ref/source/libunix.cc
+++ b/crawl-ref/source/libunix.cc
@@ -399,7 +399,12 @@ int clrscr()
textcolor( LIGHTGREY );
textbackground( BLACK );
retval = clear();
+#ifndef DGAMELAUNCH
refresh();
+#else
+ printf(DGL_CLEAR_SCREEN);
+ fflush(stdout);
+#endif
return (retval);
}