mirror of
https://github.com/nushell/nushell
synced 2024-12-26 04:53:09 +00:00
Leave raw mode correctly. (#1388)
Co-authored-by: Jonathan Turner <jonathandturner@users.noreply.github.com>
This commit is contained in:
parent
8ae8ebd107
commit
552848b8b9
1 changed files with 3 additions and 3 deletions
|
@ -204,10 +204,10 @@ fn scroll_view_lines_if_needed(draw_commands: Vec<DrawCommand>, use_color_buffer
|
|||
}
|
||||
}
|
||||
}
|
||||
let _ = std::io::stdout().execute(crossterm::cursor::Show);
|
||||
|
||||
let _ = crossterm::terminal::disable_raw_mode();
|
||||
}
|
||||
|
||||
let _ = std::io::stdout().execute(crossterm::cursor::Show);
|
||||
let _ = crossterm::terminal::disable_raw_mode();
|
||||
}
|
||||
|
||||
println!()
|
||||
|
|
Loading…
Reference in a new issue