Changeset aa2b32c in mainline for uspace/dist/src/c/demos/top/screen.c
- Timestamp:
- 2013-04-29T12:44:05Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a269d05
- Parents:
- 06b0211b (diff), 9e7898e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/dist/src/c/demos/top/screen.c
r06b0211b raa2b32c 553 553 554 554 while (c == 0) { 555 kbd_event_t event;556 557 if (!console_get_ kbd_event_timeout(console, &event, &timeleft)) {555 cons_event_t event; 556 557 if (!console_get_event_timeout(console, &event, &timeleft)) { 558 558 timeleft = 0; 559 559 return -1; 560 560 } 561 561 562 if (event.type == KEY_PRESS)563 c = event. c;562 if (event.type == CEV_KEY && event.ev.key.type == KEY_PRESS) 563 c = event.ev.key.c; 564 564 } 565 565
Note:
See TracChangeset
for help on using the changeset viewer.