Skip to content

Commit

Permalink
re-enable page_{up,down}
Browse files Browse the repository at this point in the history
  • Loading branch information
little-dude committed Oct 12, 2017
1 parent 53c2eb9 commit 44881c8
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/tui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,15 +136,14 @@ impl Tui {
self.handle.spawn(future);
}

// FIXME: the core stops answering when we send "page_up" or "page_down"
fn page_down(&mut self) {
// let future = self.client.page_down(&self.current_view).map_err(|_| ());
// self.handle.spawn(future);
let future = self.client.page_down(&self.current_view).map_err(|_| ());
self.handle.spawn(future);
}

fn page_up(&mut self) {
// let future = self.client.page_up(&self.current_view).map_err(|_| ());
// self.handle.spawn(future);
let future = self.client.page_up(&self.current_view).map_err(|_| ());
self.handle.spawn(future);
}

fn delete(&mut self) {
Expand Down

0 comments on commit 44881c8

Please sign in to comment.