Added stuff for changing colors

This commit is contained in:
Gitea 2021-01-06 15:28:36 -06:00
parent 125a613de1
commit 12fbfa0de9
2 changed files with 20 additions and 2 deletions

View file

@ -43,8 +43,8 @@ void term_scroll(void) {
}
}
void term_setcolor(uint8_t color) {
term_color = color;
void term_setcolor(uint8_t fg, uint8_t bg) {
term_color = vga_entry_color(fg, bg);
}
void term_putentryat(unsigned char c, uint8_t color, size_t x, size_t y) {