Changeset 87822ce in mainline for uspace/app/edit/edit.c
- Timestamp:
- 2021-03-04T19:14:30Z (4 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d6c4d40
- Parents:
- 760a392
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/edit/edit.c
r760a392 r87822ce 251 251 252 252 while (!done) { 253 console_get_event(con, &ev); 253 rc = console_get_event(con, &ev); 254 if (rc != EOK) 255 break; 256 254 257 pane.rflags = 0; 255 258 … … 634 637 int nc; 635 638 bool done; 639 errno_t rc; 636 640 637 641 asprintf(&str, "%s: %s", prompt, init_value); … … 648 652 649 653 while (!done) { 650 console_get_event(con, &ev); 654 rc = console_get_event(con, &ev); 655 if (rc != EOK) 656 return NULL; 651 657 652 658 if (ev.type == CEV_KEY && ev.ev.key.type == KEY_PRESS) {
Note:
See TracChangeset
for help on using the changeset viewer.