summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/libunix.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-18 07:13:31 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-18 07:13:31 +0000
commit535a994b2a97879f20e7230a65b4b0d62cee1b35 (patch)
tree2b7548c537b53038d8b3145c45e78f388211f678 /crawl-ref/source/libunix.cc
parentffce63e01d8fa4f31edb1a04c6a45227483a4bb5 (diff)
downloadcrawl-ref-535a994b2a97879f20e7230a65b4b0d62cee1b35.tar.gz
crawl-ref-535a994b2a97879f20e7230a65b4b0d62cee1b35.zip
Set native eol on CREDITS and INSTALL, updated CREDITS.
Fixed Nemelex altar macro in crawl_macros.txt - reported on SF. Added a little hack for Crawl running in dgamelaunch so ttyplay isn't lost. Reduce the --more-- overdose on end-of-game. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@666 c06c8d41-db1a-0410-9941-cceddc491573
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);
}