-
-
Notifications
You must be signed in to change notification settings - Fork 116
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
fennel stdio client in conjure cause neovim to block forever? #232
Comments
Hmm this is working absolutely fine for me 🤔 do you have |
I've installed it through AUR, which can be required from lua REPL. I just tired out install fennel via luarocks sudo luarocks install fennel However, this results in the same bug ... |
So if you run |
Yep |
Hmm, could you share the output from your Fennel REPL? Mine is:
I'm wondering if that readline part is an important difference 🤔 I'm also wondering if this is related to Olical/aniseed#53 I can't reproduce either, so maybe if I can find a similarity between the two I can spot the issue. Or at least have some sort of clue. |
I'm having the same issue. It seems to only happen when the stdio REPL is used (which I just tried for the first time today):
When run through Aniseed it seems to work for the most part. I also have readline installed @Olical but that doesn't seem to help. Here's my welcome message:
The reason I tried using the stdio REPL is because |
Ahh actually readline is the issue. I tried uninstalling it and it works great. The relative .fnl require also works for me now. I wonder if there's an easy way to start fennel without loading readline? |
I just asked about this on their Matrix channel and the main developer of Fennel (technomancy) about this and he said:
|
Fantastic! Thank you for finding this! Will do.
…On Thu, 12 Aug 2021, 18:50 Thiru, ***@***.***> wrote:
I just asked about this on their Matrix channel and the main developer of
Fennel (technomancy) about this and he said:
conjure should be setting TERM=dumb if it's running in a context that
can't handle readline
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#232 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACM6XLX4V3BC6QJCZPBKX3T4QCVPANCNFSM5BLNEQCA>
.
|
I've pushed a change to develop that hopefully addresses this in a fairly blanket way. Let me know if it looks better for you on the develop branch! |
A lot better! Thanks a lot! |
Excellent! Thank you! |
Steps to reproduce
Here's the minimal init.lua to reproduce:
Then start neovim and install all plugins, and open some fennel file, then the neovim get stucks and nothing will happen, except I manually stop neovim with
<C-c>
, even the UI rendered by neovim is left in the terminal...Some information
Fennel 0.10.0-dev on Lua 5.4
Linux arch 5.13.6-arch1-1 #1 SMP PREEMPT Thu, 29 Jul 2021 00:21:06 +0000 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: