mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
fix linux build break
This commit is contained in:
parent
1a05a2245f
commit
102c30061e
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@ impl<'a> Folder<'a> {
|
||||||
#[cfg(target_os = "windows")]
|
#[cfg(target_os = "windows")]
|
||||||
let (head, body, tail) = finder.explode(&short.name.to_string_lossy())?;
|
let (head, body, tail) = finder.explode(&short.name.to_string_lossy())?;
|
||||||
#[cfg(not(target_os = "windows"))]
|
#[cfg(not(target_os = "windows"))]
|
||||||
let (head, body, tail) = finder.explode(short.name)?;
|
let (head, body, tail) = finder.explode(&short.name)?;
|
||||||
|
|
||||||
// TODO: to be configured by THEME?
|
// TODO: to be configured by THEME?
|
||||||
let style = Style::new().fg(Color::Rgb(255, 255, 50)).add_modifier(Modifier::ITALIC);
|
let style = Style::new().fg(Color::Rgb(255, 255, 50)).add_modifier(Modifier::ITALIC);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue