You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I left Zellij to run overnight on my computer but it seems that, when turning back on my displays this morning (which does some strange things with the windows on my screen), Zellij has crashed:
Originating Thread(s):
1. pty_thread: NewTab
2. stream_terminal_bytes: AsyncTask
3. screen_thread: HandlePtyBytes
Error: thread 'screen' panicked at 'insertion index (is 55) should be <= len (is 31)': library/alloc/src/vec.rs:1018
0: zellij::common::errors::handle_panic
1: std::panicking::rust_panic_with_hook
at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:597:17
2: std::panicking::begin_panic_handler::{{closure}}
at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:499:13
3: std::sys_common::backtrace::__rust_end_short_backtrace
at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys_common/backtrace.rs:141:18
4: rust_begin_unwind
at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/panicking.rs:495:5
5: core::panicking::panic_fmt
at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/core/src/panicking.rs:92:14
6: alloc::vec::Vec<T>::insert::assert_failed
at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/alloc/src/vec.rs:1018:13
7: zellij::client::panes::grid::Grid::delete_lines_in_scroll_region
8: vte::Parser::perform_action
9: <zellij::client::panes::terminal_pane::TerminalPane as zellij::client::tab::Pane>::handle_pty_bytes
10: std::sys_common::backtrace::__rust_begin_short_backtrace
11: core::ops::function::FnOnce::call_once{{vtable.shim}}
12: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/alloc/src/boxed.rs:1307:9
<alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/alloc/src/boxed.rs:1307:9
std::sys::unix::thread::Thread::new::thread_start
at /rustc/e1884a8e3c3e813aada8254edfa120e85bf5ffca/library/std/src/sys/unix/thread.rs:71:17
13: start_thread
14: thread_start
I think the issue is with the insert() here?
pubfndelete_lines_in_scroll_region(&mutself,count:usize,pad_character:TerminalCharacter,){ifletSome((scroll_region_top, scroll_region_bottom)) = self.scroll_region{let current_line_index = self.cursor.y;if current_line_index >= scroll_region_top && current_line_index <= scroll_region_bottom
{// when deleting lines inside the scroll region, we must make sure it stays the// same size (and that other lines below it aren't shifted inside it)// so we delete the current line(s) and add an empty line at the end of the scroll// regionfor _ in0..count {self.viewport.remove(current_line_index);let columns = vec![pad_character; self.width];self.viewport.insert(scroll_region_bottom,Row::from_columns(columns).canonical());}}}}
The text was updated successfully, but these errors were encountered:
I left Zellij to run overnight on my computer but it seems that, when turning back on my displays this morning (which does some strange things with the windows on my screen), Zellij has crashed:
I think the issue is with the
insert()
here?The text was updated successfully, but these errors were encountered: