Skip to content

Commit

Permalink
[Kernel] Kernel-mode graphical string writer always resets the horizo…
Browse files Browse the repository at this point in the history
…ntal cursor
  • Loading branch information
codyd51 committed Feb 5, 2024
1 parent 88eabcd commit 79c9c07
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/gfx/lib/gfx.c
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ void kernel_gfx_write_line_rendered_string_ex(char* str, bool higher_half) {
}

Point end_cursor = kernel_gfx_draw_string((uint8_t*)addr, str, _g_cursor, color_white(), _g_font_size);
_g_cursor.x = 0;
_g_cursor.y = end_cursor.y + (_g_font_size.height * 2);
}

Expand Down

0 comments on commit 79c9c07

Please sign in to comment.