avh4 / elm-format

elm-format formats Elm source code according to a standard set of rules based on the official Elm Style Guide
BSD 3-Clause "New" or "Revised" License
1.31k stars 145 forks source link

elm-format.exe: getConsoleScreenBufferInfo: invalid argument #355

Open jinjor opened 7 years ago

jinjor commented 7 years ago

I'm using Atom editor (atom-beautify). I ran into this error both on Win7 and Win10.

image

It seems any invalid syntax is the trigger.

jinjor commented 7 years ago

I just realized this also happens on Mac (but with more details). Is this intended?

I don't think this is useful. Here are some reasons.

So I'd like to simply move out this alert. Is this specific case for Atom editor?

2017-04-27 10 39 23

avh4 commented 7 years ago

Yes, the what the alerts appear is specific to the atom plugin.

However, the original error shown in Windows elm-format.exe: getConsoleScreenBufferInfo: invalid argument seems like it might be an actual problem with elm-format.