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

zellij run command in-place with nushell causes crash #3448

Closed
jkilopu opened this issue Jun 24, 2024 · 1 comment
Closed

zellij run command in-place with nushell causes crash #3448

jkilopu opened this issue Jun 24, 2024 · 1 comment
Assignees

Comments

@jkilopu
Copy link

jkilopu commented Jun 24, 2024

Basic information

nushell --version: 0.94.2
zellij --version: 0.40.1
uname -av: Darwin jkilopu.local 23.5.0 Darwin Kernel Version 23.5.0: Wed May 1 20:16:51 PDT 2024; root:xnu-10063.121.3~5/RELEASE_ARM64_T8103 arm64

Issue description

Running a command in-place with nushell as the shell causes crash

Minimal reproduction

  1. Run zellij with SHELL=nu zellij
  2. Execute zellij run -i -- ls
  3. zellij crash and show error message
Error occurred in server:

  × Thread 'screen' panicked.
  ├─▶ Originating Thread(s)
  │   	1. screen_thread: HandlePtyBytes
  │   
  ├─▶ At zellij-server/src/lib.rs:956:18
  ╰─▶ Program terminates: a fatal error occured
      
      Caused by:
          0: failed to process pty bytes
          1: failed to handle pty bytes from fd 0
          2: failed to process pty bytes from pid 0
          3: failed to write to pane with id Terminal(0)
          4: failed to find pane with id Terminal(0)
  help: If you are seeing this message, it means that something went wrong.
        
        -> To get additional information, check the log at: /var/folders/kh/qzkj7dxs06v64w6sbqqwk0xm0000gn/T/zellij-501/zellij-log/zellij.log
        -> To see a backtrace next time, reproduce the error with: RUST_BACKTRACE=1 zellij [...]
        -> To help us fix this, please open an issue: https://github.com/zellij-org/zellij/issues

Other relevant information

zellij.log

@imsnif imsnif self-assigned this Jun 24, 2024
@imsnif
Copy link
Member

imsnif commented Jul 8, 2024

Already fixed in main. Should be fixed in the next release. Thanks for the report!

@imsnif imsnif closed this as completed Jul 8, 2024
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

2 participants