Changeset 38c64e8 in mainline
- Timestamp:
- 2009-02-28T15:13:57Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c43b1db2
- Parents:
- 7a28812
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/input.c
r7a28812 r38c64e8 95 95 } 96 96 97 /* Borrowed from Jiri Svoboda's 'cli' uspace app */98 97 static void read_line(char *buffer, int n) 99 98 { … … 115 114 continue; 116 115 } 117 putchar(c); 118 buffer[chars++] = c; 116 if (c >= ' ') { 117 putchar(c); 118 buffer[chars++] = c; 119 } 119 120 } 120 121 putchar('\n');
Note:
See TracChangeset
for help on using the changeset viewer.