improve error messages

This commit is contained in:
figsoda 2020-11-12 19:50:16 -05:00
parent 6ca9811563
commit e480a2214a

View file

@ -109,7 +109,7 @@ enum Command {
}
fn cleanup() -> Result<()> {
disable_raw_mode().context("Failed to clean up terminal")?;
disable_raw_mode().context("Failed to disable raw mode")?;
execute!(stdout(), LeaveAlternateScreen, DisableMouseCapture)
.context("Failed to clean up terminal")?;
Ok(())