Remove try call in termion backend

pull/172/head
Florian Dehau 5 years ago
parent 47c68e40a2
commit a3827aaeae

@ -128,7 +128,7 @@ where
/// Return the size of the terminal
fn size(&self) -> io::Result<Rect> {
let terminal = r#try!(termion::terminal_size());
let terminal = termion::terminal_size()?;
Ok(Rect::new(0, 0, terminal.0, terminal.1))
}

Loading…
Cancel
Save