[GHC] #7509: Changing the second prompt. :{ modules| No setting available to change.

GHC cvs-ghc at haskell.org
Wed Dec 19 07:30:14 CET 2012


#7509: Changing the second prompt. :{ modules| No setting available to change.
-----------------------------+----------------------------------------------
Reporter:  m30w              |          Owner:                                                          
    Type:  feature request   |         Status:  new                                                     
Priority:  normal            |      Component:  Compiler                                                
 Version:  7.6.1             |       Keywords:  ghci second prompt setting set configuration conf config
      Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple                                        
 Failure:  None/Unknown      |      Blockedby:                                                          
Blocking:                    |        Related:                                                          
-----------------------------+----------------------------------------------
 In order to change the main prompt it's as simple as a single command.
 :set prompt "> "

 However, in order to change the second prompt, you'd have to go into the
 ghci source code, and remove code or wrap existing code to add a
 switch/configuration for it.

 Example..

 > :{
 Prelude|

 As of the reason to having a configurable prompt, when you have many
 modules, this list can become annoying fast and so many have disabled
 showing the modules. Yet we can't do this with the second prompt.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7509>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler



More information about the Glasgow-haskell-bugs mailing list