Changeset fc15120 in mainline
- Timestamp:
- 2018-07-05T21:41:24Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7bbf91e
- Parents:
- 032565d
- git-author:
- Dzejrou <dzejrou@…> (2018-05-16 17:56:03)
- git-committer:
- Dzejrou <dzejrou@…> (2018-07-05 21:41:24)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/gui/terminal.c
r032565d rfc15120 417 417 cons_event_t *event = list_get_instance(link, cons_event_t, link); 418 418 419 /* Ctrl-D inputs end-of-file. */ 420 if ((event->ev.key.mods & KM_LCTRL) != 0 && 421 event->ev.key.key == KC_D && event->ev.key.type == KEY_PRESS) { 422 term->char_remains[term->char_remains_len] = EOF; 423 term->char_remains_len = str_size(term->char_remains); 424 419 425 /* Accept key presses of printable chars only. */ 420 if (event->type == CEV_KEY && event->ev.key.type == KEY_PRESS &&421 426 } else if (event->type == CEV_KEY && event->ev.key.type == KEY_PRESS && 427 event->ev.key.c != 0) { 422 428 wchar_t tmp[2] = { 423 429 event->ev.key.c,
Note:
See TracChangeset
for help on using the changeset viewer.