mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 00:13:21 +01: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
@ -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 New Issue
Block a user