mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
..
This commit is contained in:
parent
56d6ad570e
commit
45e609cdc7
2 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,6 @@ impl Input {
|
||||||
cb.send(if submit { Ok(self.snap_mut().value.clone()) } else { Err(anyhow!("canceled")) });
|
cb.send(if submit { Ok(self.snap_mut().value.clone()) } else { Err(anyhow!("canceled")) });
|
||||||
}
|
}
|
||||||
|
|
||||||
let _ = Term::set_cursor_default();
|
|
||||||
self.visible = false;
|
self.visible = false;
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -77,6 +77,7 @@ impl Drop for Term {
|
||||||
|
|
||||||
execute!(stdout(), DisableFocusChange, DisableBracketedPaste, LeaveAlternateScreen)?;
|
execute!(stdout(), DisableFocusChange, DisableBracketedPaste, LeaveAlternateScreen)?;
|
||||||
|
|
||||||
|
Self::set_cursor_default()?;
|
||||||
self.show_cursor()?;
|
self.show_cursor()?;
|
||||||
Ok(disable_raw_mode()?)
|
Ok(disable_raw_mode()?)
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue