mirror of
https://github.com/haskell/ghcide.git
synced 2024-12-04 05:24:33 +03:00
Set the streams to utf8 in Main.hs (#466)
This commit is contained in:
parent
df63fd76c0
commit
bd25cd01ac
@ -101,6 +101,10 @@ main = do
|
||||
initialise caps (cradleRules >> mainRule >> pluginRules plugins >> action kick)
|
||||
getLspId event (logger minBound) debouncer options vfs
|
||||
else do
|
||||
-- GHC produces messages with UTF8 in them, so make sure the terminal doesn't error
|
||||
hSetEncoding stdout utf8
|
||||
hSetEncoding stderr utf8
|
||||
|
||||
putStrLn $ "Ghcide setup tester in " ++ dir ++ "."
|
||||
putStrLn "Report bugs at https://github.com/digital-asset/ghcide/issues"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user