From 535a994b2a97879f20e7230a65b4b0d62cee1b35 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Mon, 18 Dec 2006 07:13:31 +0000 Subject: 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 --- crawl-ref/source/libunix.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'crawl-ref/source/libunix.cc') 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); } -- cgit v1.2.3-54-g00ecf