Haskell repl freezes when I run getChar
Judafa opened this issue · 1 comments
More precisely, my whole emacs freezes when I enter a character after I ran getChar in the repl.
This works fine when I run it in an other repl though (for example in eshell, after I ran ghci I get getChar working fine).
Any idea on how to fix it?
After I carefully disabled all emacs packages, I discovered the guilty one: company
Just turning off company-mode while in interactive-haskell-mode solves the problem.
I solved the entire problem by adding the following line in my emacs config
(add-hook 'haskell-interactive-mode-hook (lambda () (company-mode -1)))
In case my problem is reproducible, it would be great to specify that interactive-haskell-mode and company-mode are not compatible in the doc.
Hoping this can help somebody!