haskell / haskeline

A Haskell library for line input in command-line programs.
https://hackage.haskell.org/package/haskeline
BSD 3-Clause "New" or "Revised" License
221 stars 75 forks source link

Feature request: Syntax highlighting support #68

Closed xaverdh closed 5 years ago

xaverdh commented 7 years ago

I would like some way to get syntax highlighting in the interactive prompt. Perhaps by adding a hook that allows processing the output of the interactive prompt before it gets displayed on the terminal. This would require a more structured form of data then string however, at least if we don't want to rely on escape sequences (but even that would be an improvement I think).

judah commented 5 years ago

Closing as a dupe of #63.