1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-12-21 08:30:55 +00:00

Change key to ALT+Q

This commit is contained in:
Peter Evans 2018-02-07 16:08:43 -06:00
parent 3223fe6110
commit aee0521b0a

View File

@ -47,7 +47,8 @@ Test(vm_event, keyboard)
cr_assert_eq(scr->key_pressed, false);
cr_assert_eq(scr->should_exit, false);
ev.event.key.keysym.sym = SDLK_ESCAPE;
ev.event.key.keysym.sym = 'q';
ev.event.key.keysym.mod = KMOD_ALT;
vm_event_keyboard(&ev);
cr_assert_eq(scr->should_exit, true);