Small typo in second edition VGA buffer chapter (#434)

This commit is contained in:
ccesare
2018-05-27 10:19:46 -04:00
committed by Philipp Oppermann
parent c566ad8456
commit 9b94bdffed

View File

@@ -375,7 +375,7 @@ impl Writer {
fn clear_row(&mut self, row: usize) {/* TODO */}
}
```
We iterate over all screen characters and move each characters one row up. Note that the range notation (`..`) is exclusive the upper bound. We also omit the 0th row (the first range starts at `1`) because it's the row that is shifted off screen.
We iterate over all screen characters and move each character one row up. Note that the range notation (`..`) is exclusive the upper bound. We also omit the 0th row (the first range starts at `1`) because it's the row that is shifted off screen.
To finish the newline code, we add the `clear_row` method: