Re: Long standing annoying issue in ghci

2017-12-13 Thread cheater00 cheater00
I went ahead and did this for you. On Tue, Dec 12, 2017 at 8:44 PM, cheater00 cheater00 wrote: > Yes, it is worth doing it, because until Haskeline has been fixed and > integrated into ghci, the issue persists and needs to remain filed. > > > On Fri, 8 Dec 2017 18:25

Re: Long standing annoying issue in ghci

2017-12-12 Thread cheater00 cheater00
Yes, it is worth doing it, because until Haskeline has been fixed and integrated into ghci, the issue persists and needs to remain filed. On Fri, 8 Dec 2017 18:25 MarLinn, wrote: > I opened an issue on the Haskeline github ( > https://github.com/judah/haskeline/issues/72).

Re: Long standing annoying issue in ghci

2017-12-08 Thread MarLinn
I opened an issue on the Haskeline github (https://github.com/judah/haskeline/issues/72). But it seems to be completely Haskeline-side, so I'm not sure if it's worth re-opening the one for ghci? As missing documentation maybe? (BTW, I found this on the wiki:

Re: Long standing annoying issue in ghci

2017-12-07 Thread cheater00 cheater00
Interesting. Would you mind reopening the issue and providing a buggy example? Amd alerting haskeline maintainers? How does it work on a 1 line prompt that is so long it wraps? On Thu, 7 Dec 2017 23:11 MarLinn, wrote: > > > Here's what I use: > > > > :set prompt

Re: Long standing annoying issue in ghci

2017-12-07 Thread MarLinn
Here's what I use: :set prompt "\ESC[46m\STX%s>\ESC[39;49m\STX " I believe \STX is a signal to haskeline for control sequences. Documentation is here: https://github.com/judah/haskeline/wiki/ControlSequencesInPrompt Note: If you're using a multi-line prompt, things may be different again. I

Re: Long standing annoying issue in ghci

2017-12-05 Thread cheater00 cheater00
; >> Date: 12/5/17 4:49 PM (GMT-05:00) >> To: Brandon Allbery <allber...@gmail.com> >> Cc: ghc-devs@haskell.org >> Subject: Re: Long standing annoying issue in ghci >> >> Here's what I use: >> >> :set prompt "\ESC[46m\STX%s>\ESC[39;49m\STX &qu

Re: Long standing annoying issue in ghci

2017-12-05 Thread David Feuer
c: ghc-devs@haskell.org Subject: Re: Long standing annoying issue in ghci Here's what I use: :set prompt "\ESC[46m\STX%s>\ESC[39;49m\STX " I believe \STX is a signal to haskeline for control sequences. Documentation is here: https://github.com/judah/haskeline/wiki/ControlSequencesInPr

Re: Long standing annoying issue in ghci

2017-12-05 Thread Evan Laforge
Here's what I use: :set prompt "\ESC[46m\STX%s>\ESC[39;49m\STX " I believe \STX is a signal to haskeline for control sequences. Documentation is here: https://github.com/judah/haskeline/wiki/ControlSequencesInPrompt On Tue, Dec 5, 2017 at 12:57 PM, Brandon Allbery wrote: >

Re: Long standing annoying issue in ghci

2017-12-05 Thread Brandon Allbery
On Tue, Dec 5, 2017 at 12:36 PM, cheater00 cheater00 wrote: > without color coding the prompt so I can't really turn it off. It > seems like a simple arithmetic issue somewhere in the readline > implementation. > It's not arithmetic except in the sense that it's not doing

Long standing annoying issue in ghci

2017-12-05 Thread cheater00 cheater00
Hi guys, this one seems to have gotten buried under more important things, but maybe someone would like to take a look at it none the less? I've been encountering it literally every day for the last 4 years. I sometimes find it difficult to find read the past commands without color coding the