summaryrefslogtreecommitdiff
path: root/ghc
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2013-07-12 10:22:43 +0200
committerIan Lynagh <ian@well-typed.com>2013-07-21 21:13:35 +0100
commite7de764a76f0b428daf45865b0658faeb60326b2 (patch)
tree66e3f60f1d4dcc3637638ac7561b3ed78bf07301 /ghc
parent9b8b4483e2b643fff6733f4e238b8df0088ef476 (diff)
downloadhaskell-e7de764a76f0b428daf45865b0658faeb60326b2.tar.gz
use prompt2 in `:set +m` mode
Diffstat (limited to 'ghc')
-rw-r--r--ghc/InteractiveUI.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc/InteractiveUI.hs b/ghc/InteractiveUI.hs
index b754cfac28..dbc0c052ca 100644
--- a/ghc/InteractiveUI.hs
+++ b/ghc/InteractiveUI.hs
@@ -780,7 +780,7 @@ checkInputForLayout stmt getStmt = do
_other -> do
st1 <- lift getGHCiState
let p = prompt st1
- lift $ setGHCiState st1{ prompt = "%s| " }
+ lift $ setGHCiState st1{ prompt = prompt2 st1 }
mb_stmt <- ghciHandle (\ex -> case fromException ex of
Just UserInterrupt -> return Nothing
_ -> case fromException ex of