mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
feat: yazi --debug shows ya version in its output
Solves https://github.com/sxyazi/yazi/issues/995
This commit is contained in:
parent
aee65bc4d1
commit
edd162a685
1 changed files with 3 additions and 0 deletions
|
|
@ -55,6 +55,9 @@ impl Boot {
|
|||
writeln!(s, " OS: {}-{} ({})", OS, ARCH, FAMILY)?;
|
||||
writeln!(s, " Debug: {}", cfg!(debug_assertions))?;
|
||||
|
||||
writeln!(s, "\nYa")?;
|
||||
writeln!(s, " Version: {:?}", Command::new("ya").args(["--version"]).output())?;
|
||||
|
||||
writeln!(s, "\nEmulator")?;
|
||||
writeln!(s, " Emulator.via_env: {:?}", yazi_adaptor::Emulator::via_env())?;
|
||||
writeln!(s, " Emulator.via_csi: {:?}", yazi_adaptor::Emulator::via_csi())?;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue