Kovid Goyal
bde35f3dd0
Merge branch 'feature/tab-to-split' of https://github.com/xiaobai050/kitty
2026-09-15 20:03:11 +05:30
Kovid Goyal
e1bdb2c66f
Update changelog
CI / Linux (python=3.14 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.13 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, macos-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Waiting to run
Depscan / Scan dependencies for vulnerabilities (push) Waiting to run
2026-09-15 09:50:22 +05:30
Kovid Goyal
4a5e693194
Merge branch 'fix/cocoa-ime-long-commits' of https://github.com/xiaobai050/kitty
2026-09-15 09:49:35 +05:30
btpence
c7496a54d7
Add additional implementations of the keyboard protocol
...
Add AbsoluteTelnet/SSH client to the list of terminals that implement kitty keyboard
2026-09-14 16:30:58 -05:00
Kovid Goyal
87ab3e98f4
Graphics protocol: Fix file descriptor leak that can be triggered by malicious clients
...
Also make failure responses generic to avoid leaking any filesystem
information to failed opens
2026-09-14 21:03:15 +05:30
白鸽
7faf714da2
Allow dropping single-window tabs into another tab layout
2026-09-14 19:17:54 +08:00
白鸽
4ef2df194a
macOS: Preserve long IME commits outside key handling
2026-09-14 17:39:28 +08:00
Jesse Miller
073957f014
Cache HarfBuzz text shaping results
...
Wire the shaper-cache to actually be used for shaped runs.
On a 10s loop of the same short-word screen (~16ms/frame), main-thread
CPU dropped ~28% vs master and hb_shape samples went to 0.
Parse speed remains unchanged (and fast), verified with kitten __benchmark__.
2026-09-08 13:56:39 -06:00
Kovid Goyal
0b12ed8c41
...
CI / Linux (python=3.14 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.13 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, macos-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Waiting to run
Depscan / Scan dependencies for vulnerabilities (push) Waiting to run
2026-09-08 18:55:51 +05:30
白鸽
2cd6733c75
Allow dragging selected text with drag_or_normal_select
2026-09-06 21:16:02 +08:00
Kovid Goyal
d124d4f097
Proper fix for custom shader scaling on OS window grow + shrink
CI / Linux (python=3.14 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.13 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, macos-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Waiting to run
Depscan / Scan dependencies for vulnerabilities (push) Waiting to run
2026-09-06 14:58:18 +05:30
Kovid Goyal
f3fdc21850
Fix #10436
CI / Linux (python=3.14 cc=clang sanitize=1) (push) Has been cancelled
CI / Linux (python=3.12 cc=gcc sanitize=0) (push) Has been cancelled
CI / Linux (python=3.13 cc=gcc sanitize=1) (push) Has been cancelled
CI / Linux package (push) Has been cancelled
CI / Bundle test (macos-latest) (push) Has been cancelled
CI / Bundle test (ubuntu-latest) (push) Has been cancelled
CI / macOS Brew (push) Has been cancelled
CI / Test ./dev.sh and benchmark (push) Has been cancelled
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Has been cancelled
CodeQL / CodeQL-Build (c, macos-latest) (push) Has been cancelled
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Has been cancelled
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Has been cancelled
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Has been cancelled
Depscan / Scan dependencies for vulnerabilities (push) Has been cancelled
2026-09-04 21:04:24 +05:30
Kovid Goyal
b14ae3bf21
...
CI / Linux (python=3.14 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.13 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, macos-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Waiting to run
Depscan / Scan dependencies for vulnerabilities (push) Waiting to run
2026-09-04 06:35:44 +05:30
Kovid Goyal
0dfa8dc4fd
Fix deprecation warning when building docs
2026-09-04 06:22:51 +05:30
Kovid Goyal
49b7bf6646
Fix #10434
CI / Linux (python=3.14 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.13 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, macos-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Waiting to run
Depscan / Scan dependencies for vulnerabilities (push) Waiting to run
2026-09-04 03:58:20 +05:30
Kovid Goyal
0dbbedfb5e
Add a note about text/uri-list lifetime
CI / Linux (python=3.14 cc=clang sanitize=1) (push) Has been cancelled
CI / Linux (python=3.12 cc=gcc sanitize=0) (push) Has been cancelled
CI / Linux (python=3.13 cc=gcc sanitize=1) (push) Has been cancelled
CI / Linux package (push) Has been cancelled
CI / Bundle test (macos-latest) (push) Has been cancelled
CI / Bundle test (ubuntu-latest) (push) Has been cancelled
CI / macOS Brew (push) Has been cancelled
CI / Test ./dev.sh and benchmark (push) Has been cancelled
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Has been cancelled
CodeQL / CodeQL-Build (c, macos-latest) (push) Has been cancelled
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Has been cancelled
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Has been cancelled
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Has been cancelled
Depscan / Scan dependencies for vulnerabilities (push) Has been cancelled
2026-09-02 10:14:32 +05:30
Kovid Goyal
b869fe4e7f
macOS: Fix pasting paths from dropped file promises
...
Previously they were always invalid (deleted in a few milliseconds).
Now, kitty preserves them for ten minutes or till kitty exit, whichever
is sooner. This is still not ideal, but is likely the best that can be
done with File Promises since we have no idea when the client will
consume them. It is at any rate better than the old behavior and is
superior to the alternative of letting the drag source keep the promised
data alive for some indeterminate time period. Now we can guarantee ten
minutes of validity.
Note I still need to test this on an actual mac as I currently dont have
access to one.
Fixes #10430
2026-09-02 09:35:55 +05:30
Kovid Goyal
03fbdad855
Color control protocol: Respond to unknown field names safely using base64 encoding
2026-09-01 21:20:04 +05:30
Kovid Goyal
b54bfbb4f8
Drag and drop: Fix a use-after-free
2026-09-01 20:30:45 +05:30
Kovid Goyal
3281919056
ssh kitten: Verify owner and permissions of SHM memory used for askpass
CI / Linux (python=3.14 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.13 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, macos-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Waiting to run
Depscan / Scan dependencies for vulnerabilities (push) Waiting to run
2026-09-01 20:14:03 +05:30
Kovid Goyal
1de47c6cf4
...
CI / Linux (python=3.14 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.13 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, macos-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Waiting to run
Depscan / Scan dependencies for vulnerabilities (push) Waiting to run
2026-08-30 21:12:41 +05:30
Kovid Goyal
8dd6436917
Fix #10423
2026-08-30 21:12:13 +05:30
Kovid Goyal
049574d489
Update changelog
2026-08-30 08:19:14 +05:30
Kovid Goyal
3d600a5ef2
Merge pull request #10421 from NightWatcher314/master
...
Add configurable rounded window borders
2026-08-30 08:02:52 +05:30
Kovid Goyal
22042970cf
Be more explicit about allowed SHM name format
...
This was already covered by the POSIX spec, but there are apparently
some clients that still get it wrong, so make the requirement explicit.
IMO terminals should not be allowing clients to skip the leading slash,
it just papers over the bug in the client.
Fixes #10422
2026-08-30 07:27:48 +05:30
NightWatcher
376e72ded8
Add configurable rounded window borders
2026-08-29 22:30:04 +08:00
Kovid Goyal
902c48a9ef
...
2026-08-29 09:54:32 +05:30
Kovid Goyal
64fa6ff111
Speed up pixel compositing with SIMD vectorization
...
CI / Linux (python=3.14 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.13 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, macos-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Waiting to run
Depscan / Scan dependencies for vulnerabilities (push) Waiting to run
Alpha blending of graphics protocol images and animation frames is
2-3.5x faster and glyph alpha masks are composited onto canvases using
the same vectorized primitives
2026-08-29 09:53:38 +05:30
btpence
a31c70bc2f
Add AbsoluteTelnet/SSH to graphics protocol documentation
...
Added AbsoluteTelnet/SSH as a terminal implementing the graphics protocol. Absolute supports the full suite of features of the kitty graphics protocol. See https://www.celestialsoftware.net/kitty-graphics-protocol for examples.
2026-08-28 11:45:14 -05:00
Kovid Goyal
d52c8f80ab
awrit has been abandoned replace with terminal-browser
2026-08-28 21:42:53 +05:30
Kovid Goyal
a08218461e
Update changelog
CI / Linux (python=3.14 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.13 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, macos-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Waiting to run
Depscan / Scan dependencies for vulnerabilities (push) Waiting to run
2026-08-27 21:49:50 +05:30
Kovid Goyal
6d5d0c4406
Update changelog
CI / Linux (python=3.14 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.13 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, macos-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Waiting to run
Depscan / Scan dependencies for vulnerabilities (push) Waiting to run
2026-08-26 17:36:15 +05:30
Dmitry Kozlov
0e3e3100af
docs: add Mobile SSH to terminals implementing the graphics protocol
2026-08-25 18:16:52 -07:00
Kovid Goyal
479872838f
clipboard protocol: Specify handling of invalid base64 data
...
Fixes #10401
2026-08-25 10:12:25 +05:30
Kovid Goyal
458421af46
Clipboard: Tighten up invalid input error handling
...
Fixes #10400
2026-08-25 09:37:05 +05:30
Kovid Goyal
32ea104192
clipboard: Inform clients of too much data
...
Fixes #10399
2026-08-25 09:19:46 +05:30
Kovid Goyal
7f71461a9d
...
2026-08-24 18:38:22 +05:30
zaveshaa
e01b09c557
Fix a few typos in the docs and the choose_files kitten help text
2026-08-24 14:58:48 +03:00
Kovid Goyal
6b5bdca90d
Avoid extra copy of image data into disk cache
...
Also fix a rare race and reduce memory consumption for transient images
2026-08-23 19:41:15 +05:30
Kovid Goyal
7616cfe854
Graphics: Make reading images robust against clients that truncate files that are being read by kitty
2026-08-23 17:05:06 +05:30
Kovid Goyal
8eee836555
Fix #10393
2026-08-23 13:15:17 +05:30
Kovid Goyal
554908ed0b
Drag and drop protocol: Deny drag sources that send identically named symlink/dir entries with an appropriate error
2026-08-23 10:01:35 +05:30
Kovid Goyal
365f29e369
...
2026-08-23 08:24:44 +05:30
Kovid Goyal
05444e9e61
Fix #10391
2026-08-23 08:18:59 +05:30
Kovid Goyal
7d2fbaadcc
Text sizing protocol: Fix a buffer overflow
...
When a natural width (no explicit ``w`` key) text sizing escape code
contains a grapheme cluster longer than four codepoints
2026-08-23 07:52:17 +05:30
Kovid Goyal
5f04193347
Merge branch 'fix/small-typos' of https://github.com/zaveshaa/kitty
2026-08-23 07:39:25 +05:30
Kovid Goyal
026d11f517
Drag and drop protocol: deny requests for drag data made before the user has actually dropped something onto the window
2026-08-23 07:34:35 +05:30
zaveshaa
15ceaac34b
Fix doubled words in docs and a test comment
2026-08-22 23:10:54 +03:00
Kovid Goyal
3692fb01ec
Update changelog
2026-08-22 12:49:52 +05:30
Leah Amelia Chen
81e0a86791
docs/graphics-protocol: replace demo image
...
The "Lenna" test image has been deprecated for several years at this
point in the computer graphics scientific community for being an
unauthorized, cropped scan of a Playboy magazine that is not only legally
problematic regarding redistribution (see #661 ) but also raises questions
about the appropriateness of using originally pornographic material in
scientific literature. **If scientific journals now find it unacceptable,
so should we, and we should do better**.
The image itself has been long gone from the repo itself following #661 ,
but it's still present in a screenshot attached to the documentation.
Although that resolved legal issues for Debian packaging, I think the
fundamental problem with the Lenna image remains unsolved, and over the
past 8 years the scientific consensus (and more importantly, the
sentiment from the model herself, Lena Forsén) has been very clear that
we shouldn't use this image in any shape or form now. So let's replace it
with something actually wholesome and thematically appropriate!
Instead, I've taken a screenshot of `gr.py`, but with Lenna replaced with
a photo of a friend's cat. I took the original photo myself and licensed
it under CC0 — no attribution is required, though it would certainly be
welcome. Some minor things about the composition have been changed, such
as the proportions of the images and the font used (sorry, I don't know
which font the original used, I'm using Iosevka here since it's my system
monospace font), but overall it shows off the capabilities of the
Graphics Protocol as well as the original.
Please let me know of any feedback regarding the image selection and the
composition, but I think this is a worthy step to take.
2026-08-21 15:40:56 +08:00