Skip to content

Commit 79c9c07

Browse files
committed
[Kernel] Kernel-mode graphical string writer always resets the horizontal cursor
1 parent 88eabcd commit 79c9c07

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kernel/gfx/lib/gfx.c

+1
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ void kernel_gfx_write_line_rendered_string_ex(char* str, bool higher_half) {
207207
}
208208

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

0 commit comments

Comments
 (0)