Long standing annoying issue in ghci

cheater00 cheater00 cheater00 at gmail.com
Thu Dec 7 22:15:12 UTC 2017


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, <monkleyon at gmail.com> wrote:

>
> > 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 don't know what the rules are, but I found that if I put \STX
> on any but the last line of prompts I get weird characters. The same
> goes for any \SOH you might want to add for some reason.
>
> Cheers,
> MarLinn
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20171207/a7d46324/attachment.html>


More information about the ghc-devs mailing list