aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/graphics/vesa.c
diff options
context:
space:
mode:
authorMarvin Borner2019-10-30 21:18:08 +0100
committerMarvin Borner2019-10-30 21:18:08 +0100
commit836e4eba09e73612b00f268e124750e78aeaa225 (patch)
treeee0876bc2ba05498f87afb6a7b625bf652cb6708 /src/kernel/graphics/vesa.c
parent118898807865ba11f5d7754f6f0572a0403f8512 (diff)
Added kind of working initrd support
Diffstat (limited to 'src/kernel/graphics/vesa.c')
-rw-r--r--src/kernel/graphics/vesa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kernel/graphics/vesa.c b/src/kernel/graphics/vesa.c
index 94f53c6..3f8a9ba 100644
--- a/src/kernel/graphics/vesa.c
+++ b/src/kernel/graphics/vesa.c
@@ -287,6 +287,8 @@ void vesa_draw_char(char ch) {
} else if (ch == '\n') {
terminal_x = 0;
terminal_y += font_height + 2;
+ } else if (ch == '\t') {
+ terminal_x += 4 * (font_width + 2);
}
if (terminal_x >= vbe_width) {