Skip to content

Quickfix List output from GHCid looks strange #20

@kozross

Description

@kozross

I'm using Vim on Windows. When I have code like this:

module AI.AutoMark where

foo :: Int -> String -> Int

My Quickfix List looks like this:

|| �[0K
|| Loading cabal new-repl ...�[0K�[?25l
|| �[0K�[?25h�[?1005l�[?1000h�[?1002h�[?1003h�[?1015h�[?1006h
|| Build profile: -w ghc-8.4.4 -O2�[0K�[?25l
|| In order, the following will be built (use -v for more details):�[0K
||  - automark-1.0.0.0 (lib) (file src\AI\AutoMark.hs changed)�[0K
|| �[0K�[?25h
|| Preprocessing library for automark-1.0.0.0..�[0K�[?25l
|| �[0K�[?25h
|| GHCi, version 8.4.4: http://www.haskell.org/ghc/  :? for help�[0K�[?25l
|| �[0K�[?25h
|| ;[1 of 1] Compiling AI.AutoMark      ( src\AI\AutoMark.hs, interpreted )�[0K�[?25l
|| �[0K
.\src\AI\AutoMark.hs|3 col 1| error:�[0K
||     The type signature for `foo' lacks an accompanying binding�[0K
||   |�[0K
|| 3 | foo :: Int -> String -> Int�[0K
||   | ^^^�[0K
|| Failed, no modules loaded.�[0K
|| �[0K
.\src\AI\AutoMark.hs|3 col 1| error:�[0K
||     The type signature for `foo' lacks an accompanying binding�[0K
||   |�[0K
|| 3 | foo :: Int -> String -> Int�[0K
||   | ^^^�[0K
|| �[0K
|| �[0K
|| �[0K
|| �[0K
|| �[0K
|| �[0K
|| �[0K
|| �[0K
|| �[0K
|| �[0K
|| �[0K
|| �[0K
|| �[0K
|| �[0K
|| �[0K
|| �[0K
|| �[0K
|| �[0K
|| �[0K
|| �[0K
|| �[0K
|| �[0K
|| �[0K
|| �[0K
|| �[0K
|| �[0K
|| �[0K
|| �[0K�[?25h�[?25l
|| �[0K
|| �[0K�[?25h

It doesn't look that way if I run GHCid in my PowerShell terminal manually.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions