ndmitchell / ghcid

Very low feature GHCi based IDE
Other
1.13k stars 114 forks source link

Add target to status output #343

Open mrtnpaolo opened 3 years ago

mrtnpaolo commented 3 years ago

Howdy, this patch adds the target to the status output.

This is especially useful when one has multiple ghcid instances running (e.g. working at the same time on an executable and libraries it depends on.)

I put in a couple extra headings for the errors and warnings to give the target a reasonable place to appear in and I matched GHCi's color scheme for those.

One thing I'm not sure about is what the window title format should be: maybe it's good enough as it is since it shows the project? I also do not have a windows machine to try and get a feel.

Would appreciate feedback! Thanks.