Update examples for focusless draw

This commit is contained in:
Alexandre Bury 2015-06-01 09:20:06 -07:00
parent a2d1c019eb
commit f81a9b2768
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ impl KeyCodeView {
}
impl View for KeyCodeView {
fn draw(&mut self, printer: &Printer, _: bool) {
fn draw(&mut self, printer: &Printer) {
for (y,line) in self.history.iter().enumerate() {
printer.print((0,y), &line);
}

View File

@ -87,7 +87,7 @@ impl BufferView {
}
impl View for BufferView {
fn draw(&mut self, printer: &Printer, _: bool) {
fn draw(&mut self, printer: &Printer) {
// Before drawing, we'll want to update the buffer
self.update();