forge
Explore
Log in

Don't you dare go Hollow

tests/binds: Print events before any ops too

Browse files at this commit

3c6e215cc87e890b398c485e69c5d708368b436eIvan MolodetskikhParent: eb9e029
src/tests/binds.rsmodified+3 -0
@@ -78,6 +78,9 @@ fn run_f(f: &mut Fixture, id: ClientId, surface: &WlSurface, input: &str) -> Str
7878 });
7979
8080 let mut rv = String::new();
81+ for event in f.client(id).state.recent_keyboard_events(surface) {
82+ let _ = writeln!(&mut rv, " surface {event}");
83+ }
8184
8285 for op in ops {
8386 let (code, key_state) = match op {