fix: correctly flush buffered stderr

This commit is contained in:
Loric ANDRE 2026-01-26 15:20:39 +01:00
parent 040fc6850e
commit 1d70a823e1

View file

@ -143,7 +143,6 @@ where
pub fn exit(&mut self) -> Result<()> {
self.stop();
if crossterm::terminal::is_raw_mode_enabled()? {
self.flush()?;
crossterm::execute!(
std::io::stderr(),
DisableMouseCapture,