[GHC] #7509: Changing the second prompt. :{ modules| No setting available to change.
GHC
cvs-ghc at haskell.org
Fri Apr 12 23:24:42 CEST 2013
#7509: Changing the second prompt. :{ modules| No setting available to change.
-------------------------------------------------------------------------+--
Reporter: m30w | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 7.6.1
Keywords: ghci second prompt setting set configuration conf config | Os: Unknown/Multiple
Architecture: Unknown/Multiple | Failure: None/Unknown
Difficulty: Unknown | Testcase:
Blockedby: | Blocking:
Related: |
-------------------------------------------------------------------------+--
Changes (by igloo):
* difficulty: => Unknown
Old description:
> 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.
New description:
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#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list