-
-
Notifications
You must be signed in to change notification settings - Fork 644
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
inserting via [shift]+[ins] causes panic in stdin_handler #1292
Comments
I am having the same or related issue. Basic information
Further information
× Thread 'stdin_handler' panicked. help: If you are seeing this message, it means that something went wrong. Also, if you want to see the backtrace, you can set the :fmt_report^[[201~
|
Hey, I'm trying to reproduce this and not having much luck. We recently switched to a new STDIN parsing library and it looks like it has some quirks with pasting. Does one of you have a reliable way of reproducing this? If so, which terminal emulator are you using? Does it happen in other terminal emulators for you as well? |
can reproduce this on wsl using windows terminal, added some logging at zellij/zellij-client/src/stdin_handler.rs Line 16 in 4d69ef6
and this is the result:
termwiz standalone panics with: let buf: Vec<u8> = vec![27, 91, 50, 48, 48, 126, 50];
let mut input_parser = InputParser::new();
input_parser.parse(&buf, |e| println!("parsed event: {:?}", e), false); although the error is a bit different:
setting EDIT: let buf1: Vec<u8> = vec![27, 91, 50, 48, 48, 126, 50];
let buf2: Vec<u8> = vec![27, 91, 50, 48, 49, 126];
let mut input_parser = InputParser::new();
input_parser.parse(&buf1, |e| println!("parsed event: {:?}", e), false);
input_parser.parse(&buf2, |e| println!("parsed event: {:?}", e), false); |
I was also using windows terminal on wsl ubuntu. But i just tested it with Alacritty and WezTerm and got the same behaviour. |
still running on windows though? |
Yup |
link to upstream pr: wez/wezterm#1832 |
I built the current main-branch from source and am using that build for now. So far i haven't had any problem. |
cool, thank you for testing it! |
Basic information
zellij --version
: zellij 0.27.0uname -av
orver
(Windows): Linux 4.19.128-microsoft-standard #1 SMP Tue Jun 23 12:58:10 UTC 2020 x86_64 x86_64 x86_64 GNU/LinuxFurther information
Trace Log
The text was updated successfully, but these errors were encountered: