Commit Graph

1949 Commits

Author SHA1 Message Date
Kovid Goyal
a1927eb662 DRYer 2026-02-25 09:11:04 +05:30
Kovid Goyal
b26d0b6ac5 Add more text file types to kitten diff completion
Fixes #9556
2026-02-25 08:57:54 +05:30
Kovid Goyal
3db06a2915 More debug prints 2026-02-22 16:44:57 +05:30
newwares
828bd56fa5 ssh kitten: Push and pop keyboard encoding flags 2026-02-07 20:26:28 -05:00
Kovid Goyal
c0bb8ae2a0 desktop-ui kitten: Re-read config on every file chooser invocation via portal
Allows easily changing the config without needing to restart the kitten
which is difficult to do given its lifetime is managed by the xdg
portals service.
2026-02-03 21:08:55 +05:30
Kovid Goyal
a5433b8994 kitten choose-files: Add a new binding of Alt+Enter to modify the name of an existing file when choosing a save file name
Fixes #9387
2026-01-26 11:50:08 +05:30
Kovid Goyal
ada88e063b choose-files: Fix TAB completion in file prompt not respecting current cwd 2026-01-26 11:50:08 +05:30
Kovid Goyal
dadd2b88de DRYer 2026-01-24 14:57:48 +05:30
Kovid Goyal
9ac0f5b615 Forgot to increment expecting index 2026-01-24 14:55:25 +05:30
Kovid Goyal
85d813eeed num_items should be decreased even for pending 2026-01-24 14:47:08 +05:30
Kovid Goyal
ff33180f11 ... 2026-01-24 14:46:25 +05:30
Kovid Goyal
be0dd00606 icat kitten: When catting multiple images display the images in input order
Fixes #9413
2026-01-24 14:16:54 +05:30
Kovid Goyal
d1b9b5ac4f themes kitten: Also underline trigger keys on confirmation page. Apparently some people use color themes where SGR 31 does not contrast with the default foreground color. 2026-01-02 11:24:11 +05:30
Kovid Goyal
c815e580ea Fix warning when generating docs 2025-12-05 20:11:23 +05:30
Kovid Goyal
97d8c2a230 ... 2025-12-05 19:56:55 +05:30
Kovid Goyal
772805b8ec choose files: Add arbitrary command based previews
Needs testing. Someday.
2025-12-05 19:54:21 +05:30
Kovid Goyal
7075f71da4 Cleanup highlighting of positions in text and add some tests 2025-12-05 09:40:36 +05:30
Kovid Goyal
4e2aa7d151 Explicitly remove audio/subtitle and data streams when generating previews via ffmpeg 2025-12-02 18:51:33 +05:30
Kovid Goyal
5f90102413 Add support for RAR archive preview 2025-11-27 09:33:15 +05:30
Carl Lei
505a0e15cd kitten/hints/marks support for IPv6 addresses ending in ::
IPv6 addresses can end in zeros, and for example ifconfig.me is at
2600:1901:0:b2bd::.
2025-11-27 09:34:12 +08:00
Kovid Goyal
438114d880 DRYer 2025-11-26 21:22:47 +05:30
Kovid Goyal
222bf3cb0b Handle multiple results when invoked from mapping 2025-11-26 21:19:30 +05:30
Kovid Goyal
8c17b1bc2f ... 2025-11-26 21:16:48 +05:30
Kovid Goyal
f8db2702db choose files: Add a few more output formats 2025-11-26 21:13:57 +05:30
Kovid Goyal
22f0292e35 Choose files: Preview for common archive types 2025-11-24 21:13:41 +05:30
Kovid Goyal
158ebee92c Unify metadata formatting between vide and animated image previews 2025-11-24 20:02:20 +05:30
Kovid Goyal
9475780e9d Add a --clear-all flag to icat to clear images from scrollback as well 2025-11-23 22:06:25 +05:30
Kovid Goyal
e2092d5e60 ... 2025-11-23 18:37:26 +05:30
Kovid Goyal
aef9988c62 Allow configuring how video previews are generated 2025-11-23 18:28:59 +05:30
Kovid Goyal
abcd2ca884 Increase video preview resolution 2025-11-23 17:09:43 +05:30
Kovid Goyal
102ea9bf8b ... 2025-11-23 17:08:35 +05:30
Kovid Goyal
ccd16b82fa Add support for video previews 2025-11-23 17:05:17 +05:30
Kovid Goyal
7c52f727dc Show file metadata based preview with an error message when preview fails to render 2025-11-23 12:48:14 +05:30
Kovid Goyal
0c4cefd720 Fully fix flicker on first use of calibre preview backend
Also show the user the error from the calibre backend, if any
2025-11-23 12:39:30 +05:30
Kovid Goyal
5ecc221e70 DRYer 2025-11-23 12:32:23 +05:30
Kovid Goyal
24d6e0e629 Fix flicker on first transition to calibre backed preview 2025-11-23 12:30:46 +05:30
Kovid Goyal
fae50137a9 Add a clear cache action 2025-11-23 12:15:29 +05:30
Kovid Goyal
37da04aad6 choose files: Add default mappings to choose a file and insert it into the terminal 2025-11-23 11:41:21 +05:30
Kovid Goyal
29d2796692 Fix output format not being respected for STDOUT 2025-11-23 11:02:33 +05:30
Kovid Goyal
69a513d814 Run calibre metadata server process in the background 2025-11-23 10:46:32 +05:30
Kovid Goyal
2184d3b7d0 ... 2025-11-23 10:24:40 +05:30
Kovid Goyal
ffac770cce Add string reps for preview classes 2025-11-23 10:22:29 +05:30
Kovid Goyal
07b0801990 Nicer title for text file previews 2025-11-23 10:07:47 +05:30
Kovid Goyal
5047a46c94 ... 2025-11-23 09:51:34 +05:30
Kovid Goyal
3a69e3e58f Fix cache not being used for custom image preview rendered content without an image 2025-11-23 09:49:49 +05:30
Kovid Goyal
7f2d0aebe9 choose-files: Add calibre based previews for ebook/document file types 2025-11-23 09:39:08 +05:30
Kovid Goyal
4cf92fbf26 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
Kovid Goyal
9c3c6260c2 Show filename in text file preview 2025-11-22 12:39:29 +05:30
Kovid Goyal
4d4b287a4a Show file name and extension for filetypes without previews 2025-11-22 12:32:50 +05:30
Kovid Goyal
75c3019756 Avoid flicker when changing preview
Only render the new preview when it is fully ready, keep showing
previous preview till then.
2025-11-22 12:24:09 +05:30