Changeset 84c86819 in mainline
- Timestamp:
- 2012-05-12T10:48:40Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 26b6789, 4b82445, 68f57e1, 6df2202, f2eece1
- Parents:
- 0d67e16
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/nterm/nterm.c
r0d67e16 r84c86819 79 79 break; 80 80 default: 81 if (ev->c >= 32 || ev->c == '\t' ) {81 if (ev->c >= 32 || ev->c == '\t' || ev->c == '\b') { 82 82 send_char(ev->c); 83 83 } … … 98 98 void nterm_received(void *data, size_t size) 99 99 { 100 uint8_t *dp = (uint8_t *)data; 101 size_t i; 102 103 // printf("Received %zu bytes.\n", size); 104 for (i = 0; i < size; i++) { 105 // printf("0x%02x\n", dp[i]); 106 putchar(dp[i]); 107 } 108 100 fwrite(data, size, 1, stdout); 109 101 fflush(stdout); 110 102 }
Note:
See TracChangeset
for help on using the changeset viewer.