kitty/kittens/choose_files
Kovid Goyal 517f418f9c
Cleanup previous PR
Drop the redundant v2 prefix from the disk cache key, as the key format
already changed when the inode was added.

Render the file the cache key was computed from, so that retargeting a
symlink while rendering, even if it is restored before AddPath() checks
the key again, cannot store the preview of one file under the key of
another. Renderers that need the selected path, custom preview commands
and calibre, opt out via NeedsSelectedPath(). The selected path is also
used when the target has a different extension, as renderers may detect
the format from it.
2026-11-17 19:11:40 +05:30
..
__init__.py Implement previews for plain text files 2025-07-20 19:24:17 +05:30
archive.go choose-files kitten: Limit the number of entries shown for zip archives 2026-11-14 12:19:17 +05:30
archive_test.go choose-files kitten: Limit the number of entries shown for zip archives 2026-11-14 12:19:17 +05:30
calibre.go Cleanup previous PR 2026-11-17 19:11:40 +05:30
calibre_test.go choose-files: Cleanup previous PR 2026-11-10 19:29:52 +05:30
cmd_preview.go Cleanup previous PR 2026-11-17 19:11:40 +05:30
collection.go Implement mouse interaction with result list 2025-07-11 10:36:20 +05:30
ffmpeg.go Cleanup previous PR 2026-11-17 19:11:40 +05:30
filters.go Fix #10658 2026-10-13 08:21:05 +05:30
footer.go choose-files kitten: Sanitize untrusted text in the preview panel 2026-11-14 12:19:09 +05:30
graphics.go Make image preview code re-useable for other types of previews that have both metadata and an image 2025-11-22 13:21:21 +05:30
image_preview.go Cleanup previous PR 2026-11-17 19:11:40 +05:30
image_preview_test.go Cleanup previous PR 2026-11-17 19:11:40 +05:30
main.go choose-files: Handle symlinks to directories 2026-10-12 10:08:06 +08:00
main.py choose-files: fix video and custom previews notbeing cached 2026-11-05 14:42:27 +05:30
main_test.go Quote choose-files shell output safely 2026-08-12 13:10:53 +05:00
preview.go choose-files kitten: Sanitize untrusted text in the preview panel 2026-11-14 12:19:09 +05:30
preview_test.go choose-files: Cleanup handling of special files in previews 2026-11-09 08:42:30 +05:30
results.go choose-files kitten: Sanitize untrusted text in the preview panel 2026-11-14 12:19:09 +05:30
results_test.go Cleanup highlighting of positions in text and add some tests 2025-12-05 09:40:36 +05:30
sanitize.go choose-files kitten: Sanitize untrusted text in the preview panel 2026-11-14 12:19:09 +05:30
sanitize_test.go choose-files kitten: Sanitize untrusted text in the preview panel 2026-11-14 12:19:09 +05:30
save-file.go choose-files kitten: Sanitize untrusted text in the preview panel 2026-11-14 12:19:09 +05:30
scan.go choose-files: Cleanup handling of special files in previews 2026-11-09 08:42:30 +05:30
scan_test.go Fix #10658 2026-10-13 08:21:05 +05:30
search-bar.go Fix text overflow in choose files search box caused by move to readline 2026-07-05 18:01:42 +05:30