Commit Graph

1834 Commits

Author SHA1 Message Date
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
14741b1b29 Implement rendering of blinking text
Fixes #8551
2025-08-25 13:55:23 +05:30
Kovid Goyal
229413cbe8 ... 2025-08-21 15:50:17 +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
34ae42cf30 Update changelog 2025-08-17 14:32:38 +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
d52f2e7981 Rewrite rendering pipeline
This was needed to fix various corner cases when doing blending of colors
in linear space. The new architecture has the same performance as the
old in the common case of opaque rendering with no UI layers or images.

In the case of only positive z-index images there is a performance
decrease as the OS Window is now rendered to a offscreen texture and
then blitted to screen. However, in the future when we move to Vulkan or
I can figure out how to get Wayland to accept buffers with colors in
linear space, this performance penalty can be removed. The performance
penalty was not significant on my system but this is highly GPU
dependent. Modern GPUs are supposedly optimised for rendering to
offscreen buffers, so we will see. The awrit project might be a good
test case.

Now either we have 1-shot rendering for the case of opaque with only ext
or all the various pieces are rendered in successive draw calls into an
offscreen buffer that is blitted to the output buffer after all drawing
is done.

Fixes #8869
2025-08-11 00:47:02 +05:30
Kovid Goyal
c86ec79e32 macOS: Add default mapping and global menubar action to erase last command
This is "Cmd+L" from Terminal.app
2025-08-07 09:15:12 +05:30
Kovid Goyal
e468885b03 spelling 2025-07-29 10:04:21 +05:30
Kovid Goyal
53aea0642f ... 2025-07-26 09:28:34 +05:30
Kovid Goyal
f61b15b284 Fix incorrect handling of VS16 when it causes char to wrap to next line and is part of a draw command with more characters following it
Needed to initialize full text loop state rather than just segmentation
state on wrap. Fixes #8848
2025-07-26 09:25:01 +05:30
Kovid Goyal
8a39976449 Watchers: A new event for global watchers corresponding to the tab bar being changed
Fixes #8842
2025-07-23 09:24:12 +05:30
Kovid Goyal
45b2678db1 Allow backspace to wrap cursor to previous line
Fixes #8841
2025-07-23 08:56:54 +05:30
Kovid Goyal
55a2f2c55c Cocoa: fix quick access terminal hide focus restore
Apple now makes kitty the front most application before sending the
service notification. So instead watch for front most application change
events from the shared workspace and restore focus to the last non-self
application.
2025-07-21 14:55:12 +05:30
Kovid Goyal
7738c55c4b Wayland: Fix incorrect window size calculation when transitioning from fullscreen to non-fullscreen with client side decorations
Fixes #8826
2025-07-17 20:36:38 +05:30
Kovid Goyal
c16e2aad05 Update changelog 2025-07-17 11:10:16 +05:30
Kovid Goyal
b1334fdc19 version 0.42.2 2025-07-16 06:34:24 +05:30
Kovid Goyal
9e7c46b253 clipboard kitten: Allow using a password to avoid repeated confirmation prompts when accessing the clipboard
Fixes #8789
2025-07-13 14:12:31 +05:30
Kovid Goyal
2ee11ed613 Cleanup previous PR 2025-07-12 13:13:46 +05:30
Kovid Goyal
4d3bbd82e0 Extend the SGR Pixel mouse reporting protocol to also report when the mouse leaves the window 2025-07-12 11:59:23 +05:30
Kovid Goyal
d7c4d42f41 Fix #8794 2025-07-09 12:49:12 +05:30
Kovid Goyal
c681a999d5 Fix hyperlink id not being applied to wide cells
Fixes #8796
2025-07-09 12:14:09 +05:30
Kovid Goyal
51a265fbb9 Fix #8767 2025-06-30 14:41:30 +05:30
Kovid Goyal
75f10d140f Fix off-by-one in code to nuke incomplete multicell chars in line
Fixes #8758
2025-06-27 11:35:18 +05:30
Kovid Goyal
461e63049a Fix #8754 2025-06-26 21:30:43 +05:30
Kovid Goyal
bca017fa4c Fix #8741 2025-06-20 20:11:23 +05:30
Kovid Goyal
8e55cf7552 Fix #8731 2025-06-14 20:19:21 +05:30
Kovid Goyal
2456574992 Wayland: Only rely on keyboard enter/leave events for OS window focus state
GNOME has broken activated==focused assumption GLFW used to make. Also
follows upstream GLFW behavior. c2f0a0ae59

Fixes #8716
2025-06-09 06:52:56 +05:30
Kovid Goyal
a023a0db09 Graphics protocol: Add a note clarifying image update behavior on re-transmission
See #8701
2025-06-03 07:41:21 +05:30
Kovid Goyal
3a46e2fe0b Fix #8692 2025-05-29 08:17:45 +05:30
Kovid Goyal
61fd8c4003 Fix #8682 2025-05-27 12:10:14 +05:30
Kovid Goyal
5faa7bda5d hints kitten: Preserve line breaks when the hint is over a line break
Fixes #8674
2025-05-24 14:09:27 +05:30
Kovid Goyal
b2b8ede0a9 Remote control: Fix holding a remote control socket open causing the kitty I/O thread to go into a loop and not respond on other remote control sockets 2025-05-22 16:16:39 +05:30
Kovid Goyal
95c6279bdd Implement --grab-keyboard
Currently works on Wayland.
2025-05-18 14:30:33 +05:30
Kovid Goyal
13c37cf694 Fix remember_window_position not working because of a stupid typo
Fixes #8646
2025-05-18 07:53:30 +05:30
Kovid Goyal
d56721e64d version 0.42.1 2025-05-17 08:40:20 +05:30
Kovid Goyal
8017945551 Wayland: Add support for the xdg-toplevel-tag protocol
Now you can use --name or its alias --os-window-tag to set the tag.
2025-05-15 09:35:42 +05:30
Kovid Goyal
6282a46ff1 A new centered panel type that is sized 2025-05-13 16:38:57 +05:30
Kovid Goyal
67c1ce7280 ... 2025-05-13 11:54:01 +05:30
Kovid Goyal
a39b7eb7dd Quick access terminal: Allow configuring the monitor to display the panel on in Wayland/X11
Fixes #8630
2025-05-13 11:52:52 +05:30
Kovid Goyal
4c8f9f9e26 Cleanup previous PR
Fixes #8601
2025-05-12 22:18:41 +05:30
Kovid Goyal
9ed6be9272 Quick access terminal: Allow toggling the window to full screen and map using the standard kitty toggle_fullscreen shortcut
Fixes #8626
2025-05-12 15:20:48 +05:30
Kovid Goyal
cf69385823 Wayland: Fix an abort if the terminal program sets a window title longer than 2KB that contains CSI escape sequences and multibyte UTF-8
Fixes #8619
2025-05-12 13:53:12 +05:30
Kovid Goyal
064bc963a8 macOS: Quick access terminal: Restore focus to previously active window when hiding the quick access terminal window
Fixes #8627
2025-05-12 13:15:42 +05:30
Kovid Goyal
68b4c3dd6d Fix ambiguous width and private use characters not being rendered when used with variable width text-sizing protocol escape codes 2025-05-12 05:21:51 +05:30
Kovid Goyal
f2412cc9c8 version 0.42.0 2025-05-11 10:42:15 +05:30
Kovid Goyal
5dbd198fb9 Update changelog 2025-05-11 10:36:23 +05:30