Commit Graph

16879 Commits

Author SHA1 Message Date
Kovid Goyal
16008b950a Wayland: Fix spurious key repeat events when some user defined callback takes a long time to execute
On compositors that support compositor key repeat events, use those, for
complete robustness. Sadly no actual compositor implements these yet.

Otherwise use a timer fd/pipe to queue the repeat events and only
dispatch them after events from the compositor are handled. This means
release events from the compositor will prevent spurious repeat events.
One can, in the worst case lose some repeat events if there is a very
large interval between the start of the timer and the next poll, but
that is unavoidable and is why repeat events should come from the compositor
in the first place.

Fixes #9224
2025-12-03 22:26:09 +05:30
Kovid Goyal
7d24c82d4d Update FAQ to defer to OSC 21 spec for setting colors via escape codes 2025-12-03 20:29:00 +05:30
Kovid Goyal
ca945563bb Wayland: add support for compositor provided key repeat events
Far more robust. Sadly no actual compositors yet support this. Fifteen
years it takes Wayland developers to correct their most basic mistakes.

See #9224
2025-12-03 20:02:46 +05:30
Kovid Goyal
8bbd599e44 Bump go toolchain version for irrelevant go vuln CI failure 2025-12-03 14:37:18 +05:30
Kovid Goyal
6cfc2ea38f Raise max number of lines to scan for continued URL to 20
Fixes #9264
2025-12-03 12:50:29 +05:30
Kovid Goyal
fee4cb0975 fix warning from linter 2025-12-02 23:37:53 +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
ed3743982d ... 2025-12-02 17:09:49 +05:30
Kovid Goyal
ff72c79628 Edit docs for typos 2025-12-02 06:26:47 +05:30
Kovid Goyal
a59e6d1e72 Merge branch 'dependabot/github_actions/actions-76468cb07f' of https://github.com/kovidgoyal/kitty 2025-12-01 12:44:16 +05:30
dependabot[bot]
e69318e5fb Bump actions/checkout from 5 to 6 in the actions group
Bumps the actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 5 to 6
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-01 03:51:10 +00:00
Kovid Goyal
20b39ee163 Add a default mapping for searching the scrollback
Opens the scrollback pager in search mode. Particularly useful for
newbies on macOS that are used to using cmd+f to trigger search mode.

If there is a current selection, it is automatically searched for.
2025-12-01 08:10:07 +05:30
Kovid Goyal
9b6b9733b9 ... 2025-11-30 22:58:41 +05:30
Kovid Goyal
bc276f1e2e Return the window scrollback is displayed in 2025-11-30 22:57:47 +05:30
Kovid Goyal
eb44fa1682 Report color scheme preference change on config reload even when application has overriden the background color
Fixes #9253
2025-11-30 21:48:26 +05:30
Kovid Goyal
ccb3d666f4 Allow toggling color scheme via simulate action 2025-11-30 09:27:20 +05:30
Kovid Goyal
878c4d357c Bump version of libpng 2025-11-28 21:01:11 +05:30
Kovid Goyal
5f90102413 Add support for RAR archive preview 2025-11-27 09:33:15 +05:30
Kovid Goyal
37eead581b Merge branch 'ipv6-0-end' of https://github.com/XeCycle/kitty 2025-11-27 08:56:04 +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
6db24b66fa Dont rewrap text in the alternate screen buffer
Avoids flicker during live resize with no resize_debounce_time. See
https://github.com/kovidgoyal/kitty/discussions/9142 for discussion.
2025-11-26 10:29:12 +05:30
Kovid Goyal
9e918547e8 Since d7c2cdc closing an OS Window on macOS was causing minimized window to be restored.
Fixes #8913
2025-11-25 15:38:12 +05:30
Kovid Goyal
3d92a52676 When expanding environment variables in listen_on allow the env directive to take effect 2025-11-25 08:19:51 +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
914631b049 Avoid malloc per chunk 2025-11-24 17:39:19 +05:30
Kovid Goyal
c9c1b20cd1 Code golf the python version as well 2025-11-24 15:50:51 +05:30
Kovid Goyal
a2636f1860 Code golf 2025-11-24 15:21:18 +05:30
Kovid Goyal
adf03c067c Add support for OpenBSD as well to transmit_png 2025-11-24 15:08:55 +05:30
Kovid Goyal
1236f04a97 return rather than exit 2025-11-24 11:29:17 +05:30
Kovid Goyal
79cd4d3ee8 ... 2025-11-24 11:28:27 +05:30
Kovid Goyal
0037e3a97d Add parse test for CSI 14;2 t 2025-11-24 11:23:21 +05:30
Kovid Goyal
3944a41c00 Add support for xterms report OS window size escape code 2025-11-24 11:12:27 +05:30
Kovid Goyal
701d229139 Dont depend on icat to read screen size in pixels 2025-11-24 10:52:53 +05:30
Kovid Goyal
9fdebd66cb Minor robustness improvements 2025-11-24 10:22:36 +05:30
Kovid Goyal
905e72baa2 ... 2025-11-24 10:20:58 +05:30
Kovid Goyal
a3777694fd POSIX printf doesnt support \e 2025-11-24 10:18:43 +05:30
Kovid Goyal
0d78490cc8 Make the script to transmit PNG image POSIX sh compliant
Fixes #9243
2025-11-24 10:14:34 +05:30
Kovid Goyal
554859cc6e ... 2025-11-24 09:38:25 +05:30
Kovid Goyal
18e73d0cff Make the example script to read screen geometry work on POSIX sh 2025-11-24 09:31:52 +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