Commit graph

18937 commits

Author SHA1 Message Date
Kovid Goyal
fda3a9a22d
Update documentation on inactive_text_alpha
It's intent is to de-emphasize all content in inactive windows, but its
documentation was written before graphics existed, so update it.

Fix #10336
2026-08-10 09:07:58 +05:30
Kovid Goyal
d6a974d01b
... 2026-08-09 22:12:20 +05:30
Kovid Goyal
26882b77e5
Add tab change demo 2026-08-09 22:10:05 +05:30
Kovid Goyal
60ab484dfb
Add a focus highlight demo 2026-08-09 21:59:38 +05:30
Kovid Goyal
8660a97523
Couple more uses of repo_folder 2026-08-09 21:40:03 +05:30
Kovid Goyal
919523f31a
Link to code for shipped custom shaders 2026-08-09 21:36:39 +05:30
Kovid Goyal
40b646a54a
A tab change reveal animation 2026-08-09 21:29:40 +05:30
Kovid Goyal
e796c60d3e
A couple more background demos 2026-08-09 21:12:23 +05:30
Kovid Goyal
7da676b061
Finish custom shader docs 2026-08-09 20:20:51 +05:30
Kovid Goyal
3b6c330278
Work on documentation for custom shaders 2026-08-09 20:02:47 +05:30
Kovid Goyal
356e140d92
... 2026-08-09 18:47:46 +05:30
Kovid Goyal
c9fef78103
Cleanup docs formatting 2026-08-09 18:42:08 +05:30
Kovid Goyal
2a38815712
Higher quality demo videos 2026-08-09 16:19:20 +05:30
Kovid Goyal
6246523d5c
Use rsync rather than scp 2026-08-09 16:06:20 +05:30
Kovid Goyal
802ef3c1ea
Cleanup video demo generation 2026-08-09 16:03:37 +05:30
Kovid Goyal
b2f249cbfd
dont upscale demo videos 2026-08-09 15:49:36 +05:30
Kovid Goyal
84763e09d0
fix no mouse motion in demo generation 2026-08-09 15:49:36 +05:30
Kovid Goyal
99c75d1243
generate includes for custom shader demo videos 2026-08-09 15:49:36 +05:30
Kovid Goyal
9bb664ee3c
Switch from sphinx-inline-tabs to sphinx-design
sphinx-design gives us more capabilities such as cards and grids
2026-08-09 14:31:33 +05:30
Kovid Goyal
b1bab0eb90
Remove no longer needed restriction 2026-08-09 14:03:11 +05:30
Kovid Goyal
d97bdc22c9
Define custom shader categories 2026-08-09 13:53:13 +05:30
Kovid Goyal
9e9087c319
Start work on custom shader docs 2026-08-09 13:25:13 +05:30
Kovid Goyal
0319102777
Merge branch 'eureka-cpu/add-kitty-diff-git-to-doc' of https://github.com/eureka-cpu/kitty 2026-08-09 13:03:46 +05:30
Kovid Goyal
c018a69acb
Switch to headless sway to record demos 2026-08-09 13:03:15 +05:30
eureka-cpu
fa4490daf8 doc: Mention kitty-diff-git in kitty-diff doc 2026-08-09 00:07:57 -07:00
Kovid Goyal
f1cbe7dad5
Add cursor trail demos 2026-08-09 09:56:51 +05:30
Kovid Goyal
2b7c91a204
Add spotlight demo 2026-08-09 07:55:08 +05:30
Kovid Goyal
7c5ea82dea
Add pond ripple demo 2026-08-09 07:42:40 +05:30
Kovid Goyal
793c6b81b2
Script to record custom shader demo videos 2026-08-09 07:13:52 +05:30
Kovid Goyal
a6d5e7145a
Merge branch 'fix-scroll-up-huge-count-hang' of https://github.com/1ay1/kitty 2026-08-09 05:23:10 +05:30
Ayush Bhat
54cf9988d5 Fix hang on Scroll Up with a huge count
screen_scroll() looped `count` times with no upper bound, so CSI 2147483647 S
spun for ~2.1 billion iterations at 100% CPU and never returned, hanging the
whole terminal.

Scrolling up by more than the number of lines on screen blanks the entire
region, so clamp count to self->lines. Scroll Down (_reverse_scroll) already
caps its count the same way.

Fixes #10333
2026-08-08 22:03:03 +02:00
Kovid Goyal
3d90778e62
A custom shader to highlight the active window on focus transition 2026-08-08 16:17:48 +05:30
Kovid Goyal
f1c9d5c0ff
Make the active window geometry available in the shader 2026-08-08 16:05:24 +05:30
Kovid Goyal
c1a7bd2237
Wayland: Make the render loop robust against compositors that loose render frame requests
Request a new render frame after 250ms even if an outstanding one
exists, to handle the case of the compositor failing to respond to the
previous one (for example if the monitor was removed).

This *should* fix issue #10329 but I have no way to reproduce it, so
cannot test the fix.
2026-08-08 14:13:54 +05:30
Kovid Goyal
3afa647a9b
... 2026-08-08 13:52:00 +05:30
Kovid Goyal
ac986c84f2
Avoid an extra draw call when the last group in a pipeline is an inactive animation 2026-08-08 13:43:59 +05:30
Kovid Goyal
208bb867f1
add some lighting to the pond ripple shader for more of a 3D effect 2026-08-08 12:15:58 +05:30
Kovid Goyal
c6184e2b41
A ripple-on-click shader 2026-08-08 11:55:37 +05:30
Kovid Goyal
73bfa1332e
Add a couple more cursor trail custom shaders
These are the blaze and lightning styles.
2026-08-08 11:35:57 +05:30
Kovid Goyal
753daa1a71
Make cursor trail color setting available as a uniform 2026-08-08 05:15:44 +05:30
Kovid Goyal
92b413ea5b
Allow using custom shaders for cursor trail 2026-08-08 04:46:47 +05:30
Kovid Goyal
17e577f75b
Add a test to check that all custom shaders build 2026-08-07 18:49:56 +05:30
Kovid Goyal
6b21e7c067
disable spotlight when mouse leaves OS Window 2026-08-07 17:21:39 +05:30
Kovid Goyal
af0c6b9efb
micro optimisation 2026-08-07 17:16:18 +05:30
Kovid Goyal
795cc90d78
Auto hide spotlight when mouse pointer is hidden 2026-08-07 17:11:45 +05:30
Kovid Goyal
bd4165be60
More custom shaders 2026-08-07 16:41:41 +05:30
Kovid Goyal
192c1042da
Fireworks custom shaders 2026-08-07 16:26:31 +05:30
Kovid Goyal
19e386e9fd
Make constants all caps 2026-08-07 16:08:44 +05:30
Kovid Goyal
0bad7464cb
... 2026-08-07 15:59:56 +05:30
Kovid Goyal
b55e539dc3
Add spotlight custom shader 2026-08-07 15:56:04 +05:30