Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tetris/scores.c

    r28a5ebd rb987eb4  
    126126        cons_event_t ev;
    127127        kbd_event_t *kev;
     128        errno_t rc;
    128129
    129130        clear_screen();
     
    141142        while (true) {
    142143                console_flush(console);
    143                 if (!console_get_event(console, &ev))
     144                rc = console_get_event(console, &ev);
     145                if (rc != EOK)
    144146                        exit(1);
    145147
    146148                if (ev.type != CEV_KEY || ev.ev.key.type == KEY_RELEASE)
     149                        continue;
     150
     151                if ((ev.ev.key.mods & (KM_CTRL | KM_ALT)) != 0)
    147152                        continue;
    148153
Note: See TracChangeset for help on using the changeset viewer.