mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
..
This commit is contained in:
parent
67d3470fa3
commit
0ca9cd0670
1 changed files with 2 additions and 2 deletions
|
|
@ -31,8 +31,8 @@ impl Term {
|
||||||
RestorePosition
|
RestorePosition
|
||||||
)?;
|
)?;
|
||||||
|
|
||||||
let resp = futures::executor::block_on(Self::read_until_da1()).unwrap_or_default();
|
let resp = futures::executor::block_on(Self::read_until_da1());
|
||||||
if resp.contains("\x1b[?0u") {
|
if resp.is_ok_and(|s| s.contains("\x1b[?0u")) {
|
||||||
queue!(
|
queue!(
|
||||||
stderr(),
|
stderr(),
|
||||||
PushKeyboardEnhancementFlags(
|
PushKeyboardEnhancementFlags(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue