evancz / guide.elm-lang.org

My book introducing you to Elm!
https://guide.elm-lang.org/
Other
321 stars 186 forks source link

Elm REPL doesn't display types as stated in chapter: Reading Types #166

Open bobvandenberge opened 6 years ago

bobvandenberge commented 6 years ago

After some investigation I noticed that this was caused by my terminal color scheme. If I select everything I get the expected view: image

Not sure if this is a 'issue' or not but it might confuse people who start with elm. I also wasn't sure whether or not this issue should be part of this repository or the 'elm/compiler' so please feel free to move it if necessary.

g-io commented 5 years ago

Got the same issue. Thanks for pointing to the color scheme, that hadn't occurred to me. I'm running my terminal on some solarized dark color scheme. Turning to a light color profile helped.

seven-two-eight commented 5 years ago

@g-io If you prefer not to change your color scheme, elm repl --no-colors might help.

ogirginc commented 5 years ago

--no-colors is a bit problematic too (solarized dark with iTerm). Without highlighting:

Screenshot 2019-04-16 at 22 08 39

With highlighting:

Screenshot 2019-04-16 at 22 09 07