zellij: Zellij crashes when clicking with mouse in pane

When starting a zellij session if I click in a pane zellij crashes. Even if the only pane available is the default.

zellij-crash

If this is an unknown issue I can create a new thread for it.

zellij 0.19.0 macOs Big Sur: 11.6

Crash output

Error: thread 'stdin_handler' panicked at 'called `Option::unwrap()` on a `None` value': /Users/brew/Library/Caches/Homebrew/cargo_cache/registry/src/github.com-1ecc6299db9ec823/termion-1.5.6/src/event.rs:199
   0: backtrace::backtrace::trace
   1: backtrace::capture::Backtrace::new
   2: zellij_utils::errors::handle_panic
   3: std::panicking::rust_panic_with_hook
   4: std::panicking::begin_panic_handler::{{closure}}
   5: std::sys_common::backtrace::__rust_end_short_backtrace
   6: _rust_begin_unwind
   7: core::panicking::panic_fmt
   8: core::panicking::panic
   9: zellij_client::start_client::{{closure}}
  10: std::sys_common::backtrace::__rust_begin_short_backtrace
  11: core::ops::function::FnOnce::call_once{{vtable.shim}}
  12: std::sys::unix::thread::Thread::new::thread_start
  13: __pthread_start

_Originally posted by @abannachZen in https://github.com/zellij-org/zellij/issues/175#issuecomment-951972821_

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 1
  • Comments: 20 (12 by maintainers)

Most upvoted comments

no worries,

I’m still trying to see how to fully migrate to zellij and alacritty (using terminal tabs ATM in item2).

one thing I saw (will probably open an issue), is sometimes commands stdout is flickering when running in zellij. this usually happens when commands not adding to the terminal buffer (like spinners)

INFO   |zellij_client            | 2022-02-22 12:20:40.292 [main      ] [zellij-client/src/lib.rs:118]: Starting Zellij client!
INFO   |zellij_server            | 2022-02-22 12:20:40.319 [main      ] [zellij-server/src/lib.rs:186]: Starting Zellij server!
INFO   |zellij_server::wasm_vm   | 2022-02-22 12:20:40.380 [wasm      ] [zellij-server/src/wasm_vm.rs:86]: Wasm main thread starts
INFO   |zellij_client::stdin_hand| 2022-02-22 12:20:46.221 [stdin_handler] [zellij-client/src/stdin_handler.rs:66]: read from stdin: [27, 91, 60]
INFO   |zellij_server::wasm_vm   | 2022-02-22 12:20:47.646 [wasm      ] [zellij-server/src/wasm_vm.rs:226]: wasm main thread exits