add implementation of write_char for VgaBuf

This commit is contained in:
pantonshire committed 2024-10-17 13:14:05 +01:00
1 parent 161df47dd5
commit 8ed5f45a08
1 file changed
+5
+5
View File
@@ -81,4 +81,9 @@ impl fmt::Write for VgaBuf {
self.vga_write_str(s);
Ok(())
}
fn write_char(&mut self, c: char) -> fmt::Result {
self.vga_write_char(c);
Ok(())
}
}