mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
fix: Windows
This commit is contained in:
parent
47bf040e4d
commit
513d4504d0
1 changed files with 1 additions and 1 deletions
2
yazi-scheduler/src/external/clipboard.rs
vendored
2
yazi-scheduler/src/external/clipboard.rs
vendored
|
|
@ -41,7 +41,7 @@ impl Clipboard {
|
||||||
|
|
||||||
let result = tokio::task::spawn_blocking(|| get_clipboard::<String, _>(formats::Unicode));
|
let result = tokio::task::spawn_blocking(|| get_clipboard::<String, _>(formats::Unicode));
|
||||||
if let Ok(Ok(s)) = result.await {
|
if let Ok(Ok(s)) = result.await {
|
||||||
return s;
|
return s.into();
|
||||||
}
|
}
|
||||||
|
|
||||||
self.content.clone()
|
self.content.clone()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue