[project @ 2004-10-13 08:48:47 by simonmar]
authorsimonmar <unknown>
Wed, 13 Oct 2004 08:48:47 +0000 (08:48 +0000)
committersimonmar <unknown>
Wed, 13 Oct 2004 08:48:47 +0000 (08:48 +0000)
Undo part of previous commit, a little testing code sneaked in and
broke all the GHCi tests.

ghc/compiler/ghci/InteractiveUI.hs

index 2e9a1a0..5b3d1e3 100644 (file)
@@ -1,6 +1,6 @@
 {-# OPTIONS -#include "Linker.h" #-}
 -----------------------------------------------------------------------------
--- $Id: InteractiveUI.hs,v 1.177 2004/10/11 14:44:38 simonmar Exp $
+-- $Id: InteractiveUI.hs,v 1.178 2004/10/13 08:48:47 simonmar Exp $
 --
 -- GHC Interactive User Interface
 --
@@ -266,7 +266,7 @@ interactiveLoop is_tty show_prompt = do
 
   -- read commands from stdin
 #ifdef USE_READLINE
-  if (True || is_tty) 
+  if (is_tty) 
        then readlineLoop
        else fileLoop stdin show_prompt
 #else