atom-haskell / ide-haskell-repl

GHCi REPL in Atom
https://atom.io/packages/ide-haskell-repl
MIT License
26 stars 8 forks source link

Autocomplete ignores Enter key while loading #51

Closed chrismwendt closed 6 years ago

chrismwendt commented 7 years ago

Hitting Enter in the REPL doesn't work when autocomplete is still loading the suggestions:

kapture 2017-05-06 at 15 15 21

It's hard to see, but I typed T then o then <Enter> and the line didn't get submitted to GHCi. However, <Enter> worked after waiting a few seconds.

lierdakil commented 7 years ago

Well, not something we can avoid, since autocompletion is handled by GHCi as well, and the interface is synchronous, i.e. if it's spitting out suggestions, it can't do anything else...

lierdakil commented 6 years ago

Fixed in v0.7.13 or somewhere near (and actually would've been sooner if not for a bug in implementation). Now commands get sent into a queue instead of being rejected outright.