forked from PoliEcho-holding-org/kern
Finally made read() in keyboard.h header
This commit is contained in:
+7
-3
@@ -22,8 +22,12 @@ void main() {
|
||||
|
||||
clear(0x0f);
|
||||
print("kern.\n\n", 0x0f);
|
||||
print("Drive: 0x", 0x0f);
|
||||
print(itoa(driveNum, 16), 0x0f);
|
||||
putc('\n', 0x00);
|
||||
|
||||
while (1) {
|
||||
print("> ", 0x0e);
|
||||
char* input = read('\n', 0x0f);
|
||||
if (*input == '\n') continue;
|
||||
print(input, 0x0b);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user