Changeset 902f0906 in mainline for uspace/lib/gui/terminal.c
- Timestamp:
- 2013-04-12T19:05:06Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3f06dae
- Parents:
- 07b7c48
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gui/terminal.c
r07b7c48 r902f0906 77 77 static void term_set_rgb_color(con_srv_t *, pixel_t, pixel_t); 78 78 static void term_set_cursor_visibility(con_srv_t *, bool); 79 static int term_get_event(con_srv_t *, kbd_event_t *);79 static int term_get_event(con_srv_t *, cons_event_t *); 80 80 81 81 static con_ops_t con_ops = { … … 579 579 } 580 580 581 static int term_get_event(con_srv_t *srv, kbd_event_t *event)581 static int term_get_event(con_srv_t *srv, cons_event_t *event) 582 582 { 583 583 terminal_t *term = srv_to_terminal(srv); … … 585 585 kbd_event_t *kevent = list_get_instance(link, kbd_event_t, link); 586 586 587 *event = *kevent; 587 event->type = CEV_KEY; 588 event->ev.key = *kevent; 588 589 free(kevent); 589 590 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.