Index out of bounds crash
I'm fairly new to Rust and I try to compile and run Rustdesktop for myself and I discovered a crashing bug in your programm.
thread 'tokio-runtime-worker' panicked at 'index out of bounds: the len is 1 but the index is 1', /home/daniel/Development/upstream/xrandr-parser/src/lib.rs:231:31
When I try to output the respos variable via:
println!(
"Respos: {:#?}",
respos
);
then I get
Respos: [
"(normal",
]
But tests are all passing...
I'm running Rustdesk at master (87e92a06db882) also xrandr-parser on latest master on latest Debian Bookworm.
I guess the xrandr --query output has changed?
Edited by Daniel Teichmann