mirror of
https://github.com/figsoda/mmtc
synced 2024-11-22 15:13:03 +00:00
improve error messages
This commit is contained in:
parent
6ca9811563
commit
e480a2214a
1 changed files with 1 additions and 1 deletions
|
@ -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(())
|
||||
|
|
Loading…
Reference in a new issue