- Move source code from `trunk` into program root directory. - Update build files and include paths. - Note: Line endings standardised from `CRLF` > `LF`, so best to view diffs with whitespace changes hidden.
13 lines
157 B
C
13 lines
157 B
C
#include <stdio.h>
|
|
#include <conio.h>
|
|
|
|
int getchar(void) {
|
|
con_init();
|
|
char c = 0;
|
|
con_gets(&c, 2);
|
|
if (c == 0) {
|
|
c = EOF;
|
|
}
|
|
return c;
|
|
}
|