[bochs] Add a function to force a redraw of the cursor

This commit is contained in:
Kevin Lange 2011-11-26 17:18:20 -06:00
parent 94fe43a45e
commit 010475b6ee
2 changed files with 7 additions and 0 deletions

View File

@ -676,6 +676,12 @@ void draw_cursor() {
}
}
void bochs_redraw_cursor() {
if (term_buffer) {
draw_cursor();
}
}
void bochs_write(char c) {
cell_redraw(csr_x, csr_y);
if (c == '\n') {

View File

@ -321,6 +321,7 @@ extern uintptr_t bochs_get_address();
extern void bochs_redraw_cell(int x, int y);
extern void bochs_install_wallpaper();
extern void bochs_screenshot();
extern void bochs_redraw_cursor();
/* ANSI Terminal Escape Processor */
void ansi_put(char c);