Skip to content

stack ghci probably shouldn't change the code page #757

Closed
@ndmitchell

Description

@ndmitchell

On Windows, if I run stack ghci, when I get errors I see:

<interactive>:2:53:
    Not in scope: ‘main’
    Perhaps you meant ‘min’ (imported from Prelude)

If stack ghci on Windows is changing the codepage to something the console very definitely doesn't support, and as a result, it looks terrible. Without stack in the way I get:

<interactive>:2:1:
    Not in scope: `main'

I would be entirely happy without any smart quotes, but garbling the text nearby is a little unfortunate.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions