From 684e21fcec9733b3bb6eba76a7f56a79529aadc4 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Mon, 17 Jun 2019 17:30:09 +0200 Subject: [PATCH] Update VGA buffer post for commit fcd849f47 Commit fcd849f471fc08df9ceb8dd6c49e3b0e279ef18a --- blog/content/second-edition/posts/03-vga-text-buffer/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/content/second-edition/posts/03-vga-text-buffer/index.md b/blog/content/second-edition/posts/03-vga-text-buffer/index.md index 7b80584d..1ccf6805 100644 --- a/blog/content/second-edition/posts/03-vga-text-buffer/index.md +++ b/blog/content/second-edition/posts/03-vga-text-buffer/index.md @@ -217,7 +217,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), }