Commit Graph

15306 Commits

Author SHA1 Message Date
arne314
a6fcdf1964 minor: replace boolean in mix with step 2025-03-14 12:32:57 +01:00
arne314
d09327581e docs: add min contrast ratio 2025-03-13 15:32:42 +01:00
arne314
a6379d9003 fix: prevent nan/inf in hsluv conversion 2025-03-13 15:01:43 +01:00
arne314
167aa4c270 perf: branchless hsluv conversion 2025-03-11 17:26:11 +01:00
arne314
f67aa23d4f perf: apply min contrast using hsluv instead of rgb 2025-03-11 17:12:20 +01:00
arne314
2e05b205fd chore: add hsluv port from williammalo/hsluv-glsl 2025-03-11 17:07:33 +01:00
arne314
59a4cc7b3a feat: ensure min contrast ratio as in xterm.js 2025-03-09 16:57:30 +01:00
Kovid Goyal
a5d4ca3735 Micro-optimization: in paused rendering selections are never changed 2025-03-09 18:22:45 +05:30
Kovid Goyal
cb464423e4 Merge branch 'fix-setup' of https://github.com/leiserfg/kitty 2025-03-08 17:26:30 +05:30
leiserfg
6171ca6859 Fix regression in setup.py 2025-03-08 12:23:51 +01:00
Kovid Goyal
32e3ad50f4 Recalc over luminance if changed by threshold so that gamma adjustment uses correct value 2025-03-08 14:27:17 +05:30
Kovid Goyal
8cbdd003e2 Make deleting test dir suring shell integration tests robust against fish 4 background daemon generating completions 2025-03-08 10:42:18 +05:30
Kovid Goyal
54e1f639a8 Merge branch 'fix-panel' of https://github.com/alex-huff/kitty v0.40.0 2025-03-08 08:56:12 +05:30
Kovid Goyal
6329206a6e version 0.40.0 2025-03-08 08:40:40 +05:30
alex-huff
bd8e6a8ffc panel: Fixed initial_window_size for --edge=none 2025-03-07 21:05:30 -06:00
alex-huff
9e12819f65 panel: Use columns instead of lines for initial window size of
vertical panels
2025-03-07 21:05:26 -06:00
Kovid Goyal
4d27b4766e Cleanup previous PR 2025-03-08 08:11:34 +05:30
Kovid Goyal
218fc01070 Merge branch 'panel-edge-center' of https://github.com/alex-huff/kitty 2025-03-08 08:10:04 +05:30
alex-huff
3555569c09 ... 2025-03-07 11:26:49 -06:00
alex-huff
537000dfc0 ... 2025-03-07 11:18:18 -06:00
alex-huff
9188d6a664 Wayland: added --edge=center option for panel kitten 2025-03-07 11:11:07 -06:00
Kovid Goyal
81acce908f Merge branch 'xdg-terminal-exec' of https://github.com/leiserfg/kitty 2025-03-07 16:08:21 +05:30
Kovid Goyal
c3e20dbc40 Fix #8408 2025-03-07 16:06:03 +05:30
leiserfg
55bd074c01 Add support for xdg-terminal-exec
See proposal in https://gitlab.freedesktop.org/terminal-wg/specifications/-/merge_requests/3/diffs
2025-03-07 11:29:53 +01:00
Kovid Goyal
b1b218bb40 Merge branch 'fix-layer-shell-none-edge' of https://github.com/alex-huff/kitty 2025-03-07 08:09:03 +05:30
alex-huff
a3a5f4fa24 Wayland: Updated anchor for edge=none to be consistent with documentation 2025-03-06 19:35:09 -06:00
Kovid Goyal
d9021b1e72 Add NEMU to integrations 2025-03-06 12:55:24 +05:30
Kovid Goyal
c8a837de24 Merge branch 'patch-1' of https://github.com/monoamine11231/kitty 2025-03-05 19:20:53 +05:30
Ioannis
d611b3db1e chore(docs): Add MeowPDF to integrations.rst 2025-03-05 14:34:26 +01:00
Kovid Goyal
49f13d6797 Add clifm to integrations docs 2025-03-05 13:12:20 +05:30
Kovid Goyal
af26c96c3f Detect hung builders 2025-03-05 09:07:20 +05:30
Kovid Goyal
458c57209a Fix cursor blink animation when background_opacity is less than one
Fixes #8401
2025-03-04 18:47:34 +05:30
Kovid Goyal
228d9cfc1c Fix incorrect interpolation for animation cubic bezier curves when falling back to bisection method
See #8401
2025-03-04 17:20:34 +05:30
Kovid Goyal
4d882eb633 Merge branch 'fix-docs' of https://github.com/alex-huff/kitty 2025-03-04 11:58:22 +05:30
Kovid Goyal
27df509206 Nicer fix for enter event mouse tracking
Send an explicit mouse event to child when pointer enters window instead
of relying on GLFW to send a cursor position update event.
2025-03-04 11:29:29 +05:30
alex-huff
61eb91c115 Fix sample mywatcher.py code block
The provided mywatcher.py script did not work because of improper
indentation
2025-03-03 22:43:11 -06:00
Kovid Goyal
bfdc098236 ... 2025-03-04 09:52:19 +05:30
Kovid Goyal
ac6c652a4d Fix #8398 2025-03-04 09:49:34 +05:30
Kovid Goyal
0339d59851 Wayland: Fix mouse pointer position update not being sent when focus regained
GLFW Wayland backend was not sending a cursor position input event on
mouse entering the window surface.

Fixes #8397
2025-03-04 06:03:42 +05:30
Kovid Goyal
a896518b54 Add a note about detecting partial keyboard protocol implementations
I believe there exists at least one such implementation in the wild, in
zellij. Sigh.
2025-03-03 05:23:15 +05:30
Kovid Goyal
60975067fb Merge branch 'master-session-os-window-name' of https://github.com/gtjoseph/kitty 2025-03-03 05:19:30 +05:30
George Joseph
d2288ee787 Add support for os_window_name in startup sessions.
You can now specify `os_window_name` in addition to `os_window_class` in
startup sessions.  It works for the initial session as well as new sessions
started with `new_os_window`.

Updated documentation in overview.rst to add `os_window_name` in the
Startup Session examples.

Although not related to this feature. The documentation in launch.py
was updated to note that the `launch --type` `tab` and `os-window` options
aren't supported when launch is invoked from a startup script.  There's
already a note to that effect in the "Startup Sessions" section in
overview.rst but if you're looking at the launch syntax page like I was,
you wouldn't realize the limitation. This was throwing me for a loop while
wotking on this PR.

Resolves: #8387
2025-03-02 14:10:17 -07:00
Kovid Goyal
ac9ed921d7 Temp fix for failing fish integration test
fish >= 3.8 wants to send shell integration OSC 133 itself. However it
does not send the cmdline_url parameter, causing our integration tests
to fail. Temporarily fix by commenting out the tests for it.

Fixes #8385
2025-03-02 15:41:47 +05:30
Kovid Goyal
b568c77aec ... 2025-02-28 12:20:59 +05:30
Kovid Goyal
c43fe38cf1 macOS: Fix waiting for result from desktop notification not working 2025-02-27 19:38:06 +05:30
Kovid Goyal
188c209b2c ... 2025-02-27 19:14:02 +05:30
Kovid Goyal
e825ae4858 Document a whole bunch of OSC codes used by other projects in the parser 2025-02-27 10:49:09 +05:30
Kovid Goyal
de1ab142aa Dont propagate VTE_VERSION
VTE stupidly installs the shell integration script system wide keyed on
the presence of VTE_VERSION env var. Which will be set if kitty is
launched from a VTE based terminal. Sigh.
2025-02-26 15:45:09 +05:30
Kovid Goyal
4fb61ac8f3 Better error message for OSC 666 2025-02-26 09:43:27 +05:30
Kovid Goyal
c32e7ce7ab Remove git credentials after checkout 2025-02-24 12:00:58 +05:30