diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2013-07-12 10:22:43 +0200 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2013-07-21 21:13:35 +0100 |
commit | e7de764a76f0b428daf45865b0658faeb60326b2 (patch) | |
tree | 66e3f60f1d4dcc3637638ac7561b3ed78bf07301 /ghc | |
parent | 9b8b4483e2b643fff6733f4e238b8df0088ef476 (diff) | |
download | haskell-e7de764a76f0b428daf45865b0658faeb60326b2.tar.gz |
use prompt2 in `:set +m` mode
Diffstat (limited to 'ghc')
-rw-r--r-- | ghc/InteractiveUI.hs | 2 |
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 |