fix(windows): use isExecutable for icon and color lookup (#2448)

* fix(windows): use `isExecutable` for icon and color lookup

* perf(windows): avoid re-parsing `PATHEXT` in `isExecutable`

* docs: update `CHANGELOG.md`
This commit is contained in:
CatsDeservePets authored and GitHub committed 2026-03-21 04:09:20 +01:00
1 parent f1a1097db5
commit 551f9d3418
4 files changed
+19 -7

No files matched your search

+1
View File
@@ -38,6 +38,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
- The `cmd-transpose` command now advances the cursor correctly after swapping characters (#2413).
- Symbolic links are no longer followed when changing directories (#2423).
- Using the `select` command with a blank string as the argument now properly raises an error instead of changing to the parent directory (#2429).
- Executable files on Windows are now correctly recognized for icon and color lookup based on `PATHEXT` (#2448).
## [r41](https://github.com/gokcehan/lf/releases/tag/r41)