zellij-org / zellij

A terminal workspace with batteries included
https://zellij.dev
MIT License
19.38k stars 610 forks source link

Panic in grid.rs when opening new pane #3446

Open aidanhs opened 1 week ago

aidanhs commented 1 week ago

2. Issues with the Zellij UI / behavior / crash

Issue description

Tried to open a new pane in a terminal window inside of vscode.

Possibly relevant info:

Error occurred in server:

  × Thread 'screen' panicked.
  ├─▶ Originating Thread(s)
  │     1. stdin_handler_thread: AcceptInput
  │     2. pty_thread: SpawnTerminal
  │     3. screen_thread: NewPane
  │   
  ├─▶ At zellij-server/src/panes/grid.rs:1381:30
  ╰─▶ called `Option::unwrap()` on a `None` value
  help: If you are seeing this message, it means that something went wrong.

        -> To get additional information, check the log at: /tmp/zellij-1000/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

There doesn't seem to be anything of relevance in the log

Minimal reproduction

Not sure how to reproduce, but wanted to get the error reported. Happy to close given the minimal detail, now there's a record of it happening for others.

Other relevant information

Using zellij 0.40.1