-
Notifications
You must be signed in to change notification settings - Fork 4
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
Attempt to perform arithmetic on a nil value (field 'y') #2
Comments
What terminal emulator are you running? |
It happens on both Windows Terminal (microsoft/terminal) and the VS Code embedded terminal. |
What does |
|
My guess is that your terminal emulator doesn't support the escape code that returns the cursor position. Can you do |
I get |
Can I see your script then? this seems to require some debugging. |
Of course. It did use to work with that source, which is what makes it weird. I went to my old laptop running Arch, checked that it still runs, latest version.
I could try other terminal emulators for Alpine WSL, but I don't know how much success I'd have with them. |
See giann/croissant#9, many terminals won't respond to Lines 407 to 411 in b2af2d3
So, it's not the right time to fetch the cursor position right after that. Lines 392 to 395 in b2af2d3
We should check the result of the |
For some reason, Sirocco has stopped working for me in a script that used to work. Might be due the fact that I'm running it on Alpine on WSL, and I used to run it on Arch, but I don't see the reason why it would affect it.
This is the stacktrace I'm getting:
To reproduce it, I just did
And it should break, although it works fine on my other machine.
It's not urgent, but help would be appreciated. Thanks!
The text was updated successfully, but these errors were encountered: