Commit graph

3098 commits

Author SHA1 Message Date
Kovid Goyal
55254d9079
... 2025-09-16 22:43:51 +05:30
Kovid Goyal
d19f305b12
Merge branch 'ucs' of https://github.com/Wukuyon/kitty 2025-09-15 08:14:55 +05:30
Wukuyon
91bca3357b Text sizing protocol docs: Make code point notation more consistent 2025-09-14 15:22:05 -06:00
Kovid Goyal
3483c615f8
Update changelog 2025-09-14 13:13:17 +05:30
Kovid Goyal
1e13050fda
Nicer debug output for scrollbar option 2025-09-14 12:26:25 +05:30
Wukuyon
2514178abe Adjust text sizing protocol docs: UTF-8 decoding and precise terminology
This commit makes the following changes to the text sizing protocol's docs, to describe Kitty's current Unicode behavior more precisely in the text sizing protocol docs (#8533).

These changes describe **behavior that Kitty *already* has**. It does not require any changes to any actual Kitty source code. (I don't know if Foot currently matches this behavior.)

1. The algorithm for splitting text into cells now uses the phrases
"code point" or "Unicode scalar value" instead of "Unicode character",
which is an ambiguous phrase.

2. The algorithm now requires that the terminal uses UTF-8 to decode the bytes it receives into Unicode scalar values.

3. The algorithm now requires that the terminal replace each maximal subpart of any ill-formed subsequence with U+FFFD REPLACEMENT CHARACTER (�).
2025-09-13 22:49:01 -06:00
Kovid Goyal
a6e64845ef
Merge branch 'master' of https://github.com/lxe/kitty into scrollbar 2025-09-14 09:48:08 +05:30
Kovid Goyal
c28819710b
Merge branch 'blackcat' of https://github.com/j-c-m/kitty 2025-09-13 07:22:07 +05:30
Kovid Goyal
69ba320db9
Fix some typos in the example table for legacy key encoding
Fixes #8967
2025-09-13 06:55:52 +05:30
Jesse Miller
9e9af32a07 Add 'blackcat' a modern compatible cat with image support 2025-09-12 19:23:34 -06:00
Aleksey Smolenchuk
65a4d89282 Interactive scrollbar implementation 2025-09-08 11:33:15 -07:00
Kovid Goyal
d837a64e36
Workaround for latest Apple regression in Tahoe
Now NSWindow::close no longer actually closes the window. Sigh. Have to
also set its frame to zero size, otherwise an invisible rect remains
that intercepts mouse events and takes up space in Mission Control.

Life is too short for this shit. Fixes #8952
2025-09-05 17:27:46 +05:30
Kovid Goyal
142307d4cd
Add some footnotes explaining what features native cursors have 2025-09-04 22:02:04 +05:30
Kovid Goyal
574386f45b
Fix rendering of underlines when using larger text sizes with the space and en-space characters
Fixes #8950
2025-09-04 20:44:35 +05:30
Kovid Goyal
315562d73d
Cleanup previous PR 2025-09-03 21:46:47 +05:30
Kovid Goyal
e1d8565fb6
Add os_window_title to sessions 2025-09-01 19:30:50 +05:30
Kovid Goyal
1544830307
Allow using a custom python function in tab_title_template
Makes it easier to do complex processing
2025-08-30 09:02:39 +05:30
Kovid Goyal
b4d9af9932
Document extra cursor color control 2025-08-26 22:02:02 +05:30
Kovid Goyal
44b5d8f656
Dont use negative numbers in multi cursor protocol
There are apparently many parsers out there that cant handle them.
2025-08-26 21:43:37 +05:30
Kovid Goyal
518e06cfa4
Also report -2 in query response 2025-08-25 15:30:36 +05:30
Kovid Goyal
14741b1b29
Implement rendering of blinking text
Fixes #8551
2025-08-25 13:55:23 +05:30
Kovid Goyal
5a3e9a5567
Add a warning about the multi cursor spec being under discussion 2025-08-25 11:36:12 +05:30
Kovid Goyal
7c14524d35
fix spelling 2025-08-25 11:04:36 +05:30
Kovid Goyal
547d09a747
... 2025-08-24 21:34:11 +05:30
Kovid Goyal
0772a01779
More docs for extra cursors 2025-08-24 21:11:25 +05:30
Kovid Goyal
1c9a2dae86
Start work on documenting the multi cursor protocol 2025-08-24 20:14:15 +05:30
Kovid Goyal
cbca4d6593
Implement tab_bar_filter
Useful to manage multiple sessions in a single kitty OS Window.
Add some docs to sessions.rst describing this use case.
2025-08-24 12:25:15 +05:30
Kovid Goyal
21579e6fcb
... 2025-08-23 13:30:36 +05:30
Kovid Goyal
e176b723f5
When creating a new window/tab with the same cwd as the current window automatically put the newwindow into the same session as the current window 2025-08-23 13:24:48 +05:30
Kovid Goyal
d3c46a829d
Add action to close a session 2025-08-23 09:17:27 +05:30
Kovid Goyal
dcf4fc72f6
Add an example of saving remote sessions to the docs 2025-08-22 21:31:55 +05:30
Kovid Goyal
5e6c397356
Document using negative numbers with goto_session 2025-08-22 07:24:58 +05:30
Kovid Goyal
229413cbe8
... 2025-08-21 15:50:17 +05:30
Kovid Goyal
746a80487a
... 2025-08-19 22:12:27 +05:30
Kovid Goyal
d7070d3b97
Document how to update the currently active session 2025-08-19 22:08:19 +05:30
Kovid Goyal
6d21ebd383
... 2025-08-19 16:21:57 +05:30
Kovid Goyal
03792a1717
A new --add-to-session flag for launch
useful to optionally have new windows/tab join the active session when launched.
2025-08-19 16:06:49 +05:30
Kovid Goyal
de129dfc65
Fix version added for clipboard pw feature 2025-08-19 15:08:26 +05:30
Kovid Goyal
41488fe8ba
Allow showing the currently active session name in the tab bar 2025-08-19 06:49:14 +05:30
Kovid Goyal
d7c2cdccb1
macOS: Fix closing an OS Window when another OS Window is minimized causing the minimized window to be un-minimized
This is a bug we inherited from GLFW.
Fixes #8913
2025-08-18 21:26:54 +05:30
Kovid Goyal
3638adda6c
macOS: Elaborate dance to work around yet another Cocoa bug
Fixes #8740
2025-08-18 16:01:51 +05:30
Kovid Goyal
b8b7592b40
... 2025-08-18 15:07:12 +05:30
Kovid Goyal
6beded7b49
Cleanup previous PR 2025-08-18 14:45:18 +05:30
Kovid Goyal
0cab165daa
Remove duplicate sessions label 2025-08-17 20:13:33 +05:30
Kovid Goyal
a2d76a6c34
Document the save_as_session action 2025-08-17 14:44:26 +05:30
Kovid Goyal
34ae42cf30
Update changelog 2025-08-17 14:32:38 +05:30
Kovid Goyal
c982978e82
Add some docs for the new session features 2025-08-17 14:27:19 +05:30
Kovid Goyal
337cbf1435
Add an env var that can be used to eval an expression at startup of shell
This will come in handy to implement serialization as session
with running of current foreground command.
2025-08-16 11:58:30 +05:30
Kovid Goyal
1aeb22c158
Bump version of Wayland bundled with kitty
From 1.23.1 to 1.24.0

The just released mesa 25.2.0 doesn't work with libwayland < 1.24.0.
Sigh. Wayland is basically the world's biggest waste of time.

Fixes #8884
2025-08-16 08:42:50 +05:30
Kovid Goyal
6c93d640e9
Fix #8897 2025-08-13 11:25:38 +05:30