mirror of
https://github.com/sxyazi/yazi.git
synced 2026-07-25 08:41:05 +00:00
The trash/delete/overwrite confirmation dialogs (icons added in #4096) had no way to disable icons, and long file paths would hard word-wrap onto a new line right after the icon since a path has no internal spaces to break on cleanly. Add two options under [confirm], both independently toggleable from the existing [input] show_icons: - show_icons (default true): skip the icon lookup for confirm dialogs. - truncate_paths (default false): RTL-truncate each path with a leading "…" to fit the popup's configured width, instead of word-wrapping. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| preset | ||
| src | ||
| Cargo.toml | ||
| README.md | ||