remove redundant cleanup

This commit is contained in:
figsoda 2020-10-31 10:36:25 -04:00
parent 29c70e78da
commit 2fc23792a4

View file

@ -110,7 +110,6 @@ async fn run() -> Result<()> {
match event::read().context("Failed to read events")? {
Event::Key(KeyEvent { code, .. }) => match code {
KeyCode::Char('q') | KeyCode::Esc => {
cleanup()?;
return Ok(());
}
_ => (),