From 8ed5f45a085725ec26333be92a3f63039f02316e Mon Sep 17 00:00:00 2001 From: pantonshire Date: Thu, 17 Oct 2024 13:14:05 +0100 Subject: [PATCH] add implementation of write_char for VgaBuf --- boot1/src/vga.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/boot1/src/vga.rs b/boot1/src/vga.rs index cdd0125..76fd0bb 100644 --- a/boot1/src/vga.rs +++ b/boot1/src/vga.rs @@ -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(()) + } }