diff --git a/src/vga_buffer.rs b/src/vga_buffer.rs index fcf95893..d81f1168 100644 --- a/src/vga_buffer.rs +++ b/src/vga_buffer.rs @@ -115,7 +115,7 @@ impl Writer { for byte in s.bytes() { match byte { // printable ASCII byte or newline - 0x20...0x7e | b'\n' => self.write_byte(byte), + 0x20..=0x7e | b'\n' => self.write_byte(byte), // not part of printable ASCII range _ => self.write_byte(0xfe), }