Espresso 0.0.2c
This commit is contained in:
@ -306,3 +306,12 @@ void terminal_update_cursor(void)
|
||||
outb(0x3D5, (uint8_t) ((pos >> 8) & 0xFF));
|
||||
}
|
||||
|
||||
void terminal_putcharat(char c, uint16_t row, uint16_t column)
|
||||
{
|
||||
int _r;
|
||||
int _c;
|
||||
terminal_get_cursor(&_r, &_c);
|
||||
terminal_set_cursor(row, column);
|
||||
terminal_putchar(c);
|
||||
terminal_set_cursor((uint16_t) _r, (uint16_t) _c);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user