Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Haskell repl freezes when I run getChar #1813

Closed
Judafa opened this issue Jul 23, 2023 · 1 comment
Closed

Haskell repl freezes when I run getChar #1813

Judafa opened this issue Jul 23, 2023 · 1 comment

Comments

@Judafa
Copy link

Judafa commented Jul 23, 2023

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?

@Judafa
Copy link
Author

Judafa commented Aug 12, 2023

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!

@Judafa Judafa closed this as completed Aug 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant