-
Notifications
You must be signed in to change notification settings - Fork 193
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
Terminall freezes with nushell #60
Comments
Thanks for the detailed bug report including version, browser, nushell and Rust versions. I'm not familiar with It's possible it could be due to |
I am able to reproduce on macOS Ventura. |
Ah, well my random hunch was right. Here's the strace output from Alpine Linux (repeats every few seconds, probably stuck in a retry loop internally in nushell): Steps to reproduce
I'm running in an Alpine Linux, aarch64 container. docker run -it --rm alpine:3.18.4 Then in Alpine: apk add curl
apk add nushell --repository=https://dl-cdn.alpinelinux.org/alpine/edge/testing
curl -sSf https://sshx.io/get | sh
sshx Inside sshx, open multiple terminals and in one terminal: echo $$ To get the PID, then run in the second terminal: strace -f -p $PID And in the first terminal: nu
Is there any possibility that the nushell authors would be able to add a fallback for terminals that don't support cursor position reporting? |
It seems like it was a low priority issue last year, but it might be implemented as of now. |
I started a session on a nushell shell and it defaulted to bash, which did work. When I opened a terminal and tried to run
nu
on it, that terminal would just freeze.I tried to run it with the
--shell nu
and--shell /home/slushee/.cargo/bin/nu
arguments and any terminal I created on the website would just freeze without giving a prompt.I wonder if this is an issue with nu not being POSIX compliant, this could be tested with fish.
Current behavior
Terminals which attempt to use the nu shell freeze and don't show any prompt
Expected behavior
The application works the same way as it does with bash and zsh, showing a functional nushell prompt for every terminal opened.
Envoriment
0.2.1
, compiled withrustc 1.73.0
0.86.0
Librewolf 120.0-1
Fedora 38 workstation (kernel 6.5.10-200.fc38.x86_64)
The text was updated successfully, but these errors were encountered: