mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
fix: reset cursor to default in fallback
This commit is contained in:
parent
9af792ef69
commit
5b31c9ba43
1 changed files with 1 additions and 3 deletions
|
|
@ -18,9 +18,7 @@ impl crossterm::Command for RestoreCursor {
|
||||||
2 if !blink => SetCursorStyle::SteadyUnderScore.write_ansi(f)?,
|
2 if !blink => SetCursorStyle::SteadyUnderScore.write_ansi(f)?,
|
||||||
3 if blink => SetCursorStyle::BlinkingBar.write_ansi(f)?,
|
3 if blink => SetCursorStyle::BlinkingBar.write_ansi(f)?,
|
||||||
3 if !blink => SetCursorStyle::SteadyBar.write_ansi(f)?,
|
3 if !blink => SetCursorStyle::SteadyBar.write_ansi(f)?,
|
||||||
_ if blink => SetCursorStyle::DefaultUserShape.write_ansi(f)?,
|
_ => SetCursorStyle::DefaultUserShape.write_ansi(f)?,
|
||||||
_ if !blink => SetCursorStyle::SteadyBlock.write_ansi(f)?,
|
|
||||||
_ => unreachable!(),
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue