Commit Graph

144 Commits

Author SHA1 Message Date
Kovid Goyal
b627d2e4ab Move error handling code into its own library 2025-10-12 13:51:16 +05:30
Kovid Goyal
a0f6152aee Ensure num_cols is never zero 2025-10-09 16:05:13 +05:30
Kovid Goyal
ed33e64101 Ensure placement is transmitted after data 2025-10-09 15:35:57 +05:30
Kovid Goyal
167b254d97 DRYer 2025-10-09 15:23:52 +05:30
Kovid Goyal
dc90771780 Add a small top margin above the image preview 2025-10-09 15:16:17 +05:30
Kovid Goyal
4cdedc422e Add modified date to image preview 2025-10-09 15:13:45 +05:30
Kovid Goyal
9f2b22c4d6 Forgot to include metadata key in resized cache 2025-10-09 10:44:41 +05:30
Kovid Goyal
a2255e979f Only retransmit placements when actually needed 2025-10-09 10:12:32 +05:30
Kovid Goyal
2ac2c17929 Fix transmission by file 2025-10-09 09:35:06 +05:30
Kovid Goyal
4ec94c786d Fix previews being right aligned 2025-10-09 09:03:09 +05:30
Kovid Goyal
d598157590 Make goroutines in choose_files panic safe 2025-10-09 08:11:47 +05:30
Kovid Goyal
49d8b1a9d0 More work on image preview rendering 2025-10-08 22:00:12 +05:30
Kovid Goyal
a6335777d9 disk cache: add a path based API
This allows maintaining only a single cache entry per path when the
path's contents change.
2025-10-08 06:41:12 +05:30
Kovid Goyal
9f9216457e Only showing metadata needs to be in the interface 2025-10-07 14:12:40 +05:30
Kovid Goyal
f0040edff2 More work on image previews 2025-10-07 13:30:28 +05:30
Kovid Goyal
4af95b3c51 choose_files: start work on image previews 2025-10-07 11:11:42 +05:30
Kovid Goyal
7b0caaa491 ... 2025-09-21 10:26:37 +05:30
Kovid Goyal
591473d9c1 Fix #8997 2025-09-21 10:25:00 +05:30
Kovid Goyal
e156a33543 Fix completion for paths starting with / 2025-08-16 06:43:41 +05:30
Kovid Goyal
23d8648f5d Add a new "file" mode to the ask kitten 2025-08-15 21:18:25 +05:30
Kovid Goyal
0f67ff37df Allow accepting the currently displayed parent directory by pressing ctrl+enter 2025-07-24 08:20:43 +05:30
Kovid Goyal
b980eb2726 Fix sort by dates initial application 2025-07-20 21:44:29 +05:30
Kovid Goyal
92988c19c0 ... 2025-07-20 19:30:26 +05:30
Kovid Goyal
bd0f55531f Implement previews for plain text files 2025-07-20 19:24:17 +05:30
Kovid Goyal
2bdbbd909c Handle color scheme changes in choose-files kitten 2025-07-20 13:43:59 +05:30
Kovid Goyal
2e92d610d5 Implement metadata based previews in choose-files 2025-07-20 09:31:17 +05:30
Kovid Goyal
fbe982e1aa choose files: Option to display title at top when OS titlebar is not available 2025-07-16 19:41:30 +05:30
Kovid Goyal
966f2cb700 Basic documentation for the choose files kitten 2025-07-16 13:15:27 +05:30
Kovid Goyal
c8a20dbe58 Start documenting the choose-files kitten 2025-07-16 06:16:38 +05:30
phanium
3c54cb99d9 Fix kitten choose-files panic
Error: Panicked: runtime error: invalid memory address or nil pointer
dereference
Panicked with error: runtime error: invalid memory address or nil
pointer dereference
Stacktrace (most recent call first):
github.com/kovidgoyal/kitty/kittens/choose_files.(*FileSystemScanner).worker
        kitty/kittens/choose_files/scan.go:351
2025-07-12 22:32:08 +08:00
Kovid Goyal
80ce6946f7 Show a spinner while scanning/scoring is in progress 2025-07-12 08:34:15 +05:30
Kovid Goyal
fef57bd4c2 Format counts using user locale 2025-07-12 08:24:06 +05:30
Kovid Goyal
f34007c65a Handle multiple save files when entering save file names 2025-07-11 21:47:11 +05:30
Kovid Goyal
8ce7346616 mapping to switch to typing a save file name 2025-07-11 21:09:38 +05:30
Kovid Goyal
2bd8534df9 Implement completion for the save file entry prompt 2025-07-11 20:44:51 +05:30
Kovid Goyal
564195f94f Show results frame in cyan while scan in progress 2025-07-11 11:05:39 +05:30
Kovid Goyal
ecdeea930b Implement bindings to move current to first/last 2025-07-11 10:59:29 +05:30
Kovid Goyal
b4e75bf475 Limit the number of selections displayed in the footer 2025-07-11 10:40:43 +05:30
Kovid Goyal
513fd720eb Implement mouse interaction with result list 2025-07-11 10:36:20 +05:30
Kovid Goyal
6856df4391 DRYer 2025-07-11 07:32:02 +05:30
Kovid Goyal
3134941a84 Add keyboard shortcuts for toggling scan settings 2025-07-11 07:14:07 +05:30
Kovid Goyal
3fb9154f93 ... 2025-07-10 20:54:43 +05:30
Kovid Goyal
a836531a99 Show current selected files in footer 2025-07-10 20:52:45 +05:30
Kovid Goyal
35b2553723 Mark selected files 2025-07-10 19:39:18 +05:30
Kovid Goyal
3469e1b044 Make the keyboard shortcuts configurable 2025-07-10 16:20:45 +05:30
Kovid Goyal
27736af979 Add visible controls for scan settings 2025-07-10 15:28:11 +05:30
Kovid Goyal
6f511ae66a Add a bunch of settings to control filesystem scanning 2025-07-10 10:30:48 +05:30
Kovid Goyal
96ba62f34e API to toggle the new flags 2025-07-09 21:08:18 +05:30
Kovid Goyal
0f8d1ec5cc Add flags to control respecting ignores and showing hidden files/folders 2025-07-09 20:46:45 +05:30
Kovid Goyal
932b0ccdc5 Add tests for ignore file processing 2025-07-09 20:21:06 +05:30