Commit Graph

1562 Commits

Author SHA1 Message Date
Kovid Goyal
93dc28aa78 version 0.39.1 2025-02-01 12:23:57 +05:30
Kovid Goyal
ea9afc6e89 watchers: Add a new event on_color_scheme_preference_change
Fixes #8246
2025-01-23 05:36:25 +05:30
Kovid Goyal
0527db876b Wayland niri: Fix 250ms delay on startup when using scale 1
We special case Hyprland, hopefully the special casing can be removed
once https://github.com/hyprwm/Hyprland/issues/9126 is fixed.

Fixes #8236
2025-01-21 16:40:32 +05:30
Kovid Goyal
8931062a70 hints kitten: Workaround for some broken light color themes that make the hints text color too low contrast to read
Fixes #7330
2025-01-17 20:22:10 +05:30
Kovid Goyal
c600451bb8 Splits layout: Allow setting the bias of the current split using layout_action bias
Fixes #8222
2025-01-17 08:37:07 +05:30
Kovid Goyal
1f920ecc77 version 0.39.0 2025-01-16 09:14:51 +05:30
Kovid Goyal
ed7a096503 When reloading configuration fix auto color themes not being re-applied
Fixes #8203
2025-01-08 10:27:12 +05:30
Kovid Goyal
69aead6d3d query_terminal: Add support for reporting name of the OS the terminal emulator is running on
Fixes #8201
2025-01-07 08:21:53 +05:30
Kovid Goyal
a3d6bf7a2c ... 2025-01-06 21:57:31 +05:30
Kovid Goyal
1eeea70c7a Allow dynamically generating configuration by running an arbitrary program using the new geninclude directive 2025-01-06 19:00:01 +05:30
Kovid Goyal
b0c9262652 Fix the clear_terminal scrollback action also clearing screen 2025-01-05 14:06:14 +05:30
Kovid Goyal
cbefc72a7e macOS: Add menu items to the Edit menu to clear the screen and scrollback 2025-01-05 14:03:08 +05:30
Kovid Goyal
c6ae4b0a53 macOS: Allow using the Passwords app to autofill passwords via the Edit->Autofill menu mimicking other macOS applications
Fixes #8195
2025-01-05 13:36:25 +05:30
Kovid Goyal
9b9b313e77 When a program running in kitty reports progress of a task display it as a percentage in the tab title 2025-01-05 08:48:46 +05:30
Kovid Goyal
e34a899ea6 diff kitten: Automatically use dark/light color scheme based on the color scheme of the parent terminal
Fixes #8170
2025-01-04 12:57:33 +05:30
Kovid Goyal
134271be93 diff kitten: Abort when run inside a terminal that does not support the kitty keyboard protocol
Fixes #8185
2025-01-03 21:34:38 +05:30
Kovid Goyal
762ad3b226 ... 2025-01-02 19:49:38 +05:30
Kovid Goyal
9d027e4fbd ssh kitten: Fix kitten not being on PATH when sshing into Debian systems
Fixes #7160
2025-01-02 19:46:50 +05:30
Kovid Goyal
f13ee32c3c Fix border colors not being changed by auto light/dark themes at startup
Fixes #8180
2024-12-31 12:28:16 +05:30
Kovid Goyal
909bccb807 When mapping a custom kitten allow using shell escaping for the kitten path
Fixes #8178
2024-12-31 12:13:17 +05:30
Kovid Goyal
fa6ae712a3 version 0.38.1 2024-12-26 07:13:03 +05:30
Kovid Goyal
5a99f3b6cf clone-in-kitty: Fix KITTY_WINDOW_ID being cloned and thus having incorrect value
Fixes #8161
2024-12-25 18:27:40 +05:30
Kovid Goyal
055fb30bf2 macOS: Fix mouse cursor shape not always being reset to text cursor when mouse re-enters kitty
Fixes #8155
2024-12-25 08:26:56 +05:30
Kovid Goyal
140b61175c ... 2024-12-24 09:40:30 +05:30
Kovid Goyal
24a195c7c7 Graphics: Fix deletion of images by id not working for images with no placements 2024-12-24 09:39:01 +05:30
Kovid Goyal
6103224a7d Update changelog 2024-12-24 07:16:05 +05:30
Kovid Goyal
a8c6ead319 Update changelog
Fix #8150
2024-12-23 21:13:09 +05:30
Kovid Goyal
bfea21fe39 ... 2024-12-20 15:07:34 +05:30
Kovid Goyal
9d304ccbc6 Nicer fix for #8124
Now colors from the auto themes are first merged onto the default colors
to ensure that themes that dont specify all colors still have correct
values for all colors.
2024-12-20 15:06:22 +05:30
Kovid Goyal
35b3ae8edb Revert "themes kitten: When using the Default theme as an auto switch theme include all the actual settings values"
This reverts commit 2abc0be844.
2024-12-20 12:54:47 +05:30
Kovid Goyal
dd9d8353df Support notifying applications on color scheme change 2024-12-20 09:55:49 +05:30
Kovid Goyal
8facaf4fa0 Graphics: Fix deleted but not freed images without any references being incorrectly freed on a subsequent delete command 2024-12-18 09:25:06 +05:30
Kovid Goyal
9f3f5984b4 macOS: Fix a regression in the previous release that broke rendering of Emoji using the VS16 variation selector
The test for a font having cell text was incorrectly not ignoring
non-renderable chars due to a typo.

Fixes #8130
2024-12-18 08:51:55 +05:30
Kovid Goyal
2abc0be844 themes kitten: When using the Default theme as an auto switch theme include all the actual settings values
Fixes #8124
2024-12-16 15:32:32 +05:30
Kovid Goyal
678f2ad073 Fix build on older compiler 2024-12-15 09:23:29 +05:30
Kovid Goyal
79a07ee61c version 0.38.0 2024-12-15 09:20:06 +05:30
Kovid Goyal
9d48fa9126 hints/unicode_input kittens: Do not lose keypresses that are sent very rapidly via an automation tool immediately after the kitten is launched
We now buffer the key events until the kitten tells us it is ready.
Without this the key presses are delivered to the underlying window
as the kitten's overlay window was not being focused until the kitten
set the ready message.

Fixes #7089
2024-12-12 13:11:12 +05:30
Kovid Goyal
62fbda8c9b When re-attaching a detached tab preserve internal layout state such as biases and orientations
Fixes #8106
2024-12-06 19:54:10 +05:30
Kovid Goyal
512bea3d43 Make cmd finish notification clear behavior configurable 2024-12-05 10:27:30 +05:30
Kovid Goyal
778344a439 Fix enlarging window when a long line is wrapped between the first line of the scrollback buffer and the screen inserting a spurious newline
Fixes #7033
2024-11-27 20:08:27 +05:30
Kovid Goyal
a5f70fbee5 ... 2024-11-27 11:24:27 +05:30
Kovid Goyal
cf2aaaf52f remote_control_password: Fix using a password without any actions not working
Fixes #8082
2024-11-27 01:56:17 +05:30
Kovid Goyal
826a869c96 Cleanup previous PR 2024-11-25 11:33:38 +05:30
Kovid Goyal
4118bfc8ee Change algorithm for y position of dashed/dotted underlines
Make the inner loop faster and ensure that the same logic for y-position
and thickness is used as for the straight underline. Fixes #8074
2024-11-25 11:07:56 +05:30
Kovid Goyal
cb2e1fcd04 Graphics protocol: Fix delete by number not deleting newest image with the specified number
Fixes #8071
2024-11-24 10:11:34 +05:30
Kovid Goyal
ebb733bad0 Wayland: Pass valid UTF-8 as title
When stripping CSI sequences from the title, dont mutilate interleaved
multi-byte UTF-8 sequences.

Fixes #8067
2024-11-24 09:06:46 +05:30
Kovid Goyal
2436c5acfe clipboard kitten: Fix a bug causing kitten to hang in filter mode when input data size is not divisible by 3 and larger than 8KB
Fixes #8059
2024-11-19 11:24:59 +05:30
Kovid Goyal
1ff74b86dc Wayland GNOME: Workaround bug in mutter causing double tap on titlebar to not always work
Fixes #8054
2024-11-18 08:46:17 +05:30
Kovid Goyal
466bc8933a Document how to setup kitty for automatic OS color following 2024-11-07 19:09:18 +05:30
Kovid Goyal
847433dba2 Discard OSC 9 notifications that start with 4;
Some misguided software is using it for "progress reporting". OSC 9 has
a decade plus history of being used for notifications but because
Windows Terminal decided to use it for progress reporting, without
bothering to do research about conflicting existing uses, systemd of all
things wants to adopt it!! Crazy world we live in.

Since actual notifications are highly unlikely to start with 4; we
hopefully don't break any real world use cases and also don't let
systemd spam our users with endless notifications.

Fixes #8011
2024-11-01 20:21:55 +05:30