summaryrefslogtreecommitdiff
path: root/kernel/src/io
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/src/io')
-rw-r--r--kernel/src/io/vga_text.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/src/io/vga_text.rs b/kernel/src/io/vga_text.rs
index c6d8731..890defb 100644
--- a/kernel/src/io/vga_text.rs
+++ b/kernel/src/io/vga_text.rs
@@ -223,6 +223,7 @@ impl<'a> VgaTerminalControllerLock<'a> {
chars.as_ptr(),
core::mem::size_of::<VgaChar>() * chars.len(),
);
+ *self.lock = self.lock.offset(chars.len() as isize);
}
}
}