Commit graph

2873 commits

Author SHA1 Message Date
Kovid Goyal
3c2d6f623f
Add max text length per escape code to the text-sizing-protocol 2025-02-12 09:51:52 +05:30
Kovid Goyal
c7fb942c4c
Fix a regression in the previous release that broke setting of nullable colors 2025-02-11 22:07:42 +05:30
Kovid Goyal
949860ff22
ssh kitten: Fix incorrect copying of data files when using the python interpreter and also fix incorrect hard link detection 2025-02-09 12:59:33 +05:30
Kovid Goyal
3b8f3dc69e
Another kitty icon 2025-02-08 10:34:14 +05:30
Kovid Goyal
af917e6bcc
Fix #8304 2025-02-08 07:56:21 +05:30
Kovid Goyal
244f4597dc
launch: Decouple source and dest windows from active window
Fixes #8295
2025-02-07 13:40:44 +05:30
Kovid Goyal
b3a0a9907f
... 2025-02-06 09:08:51 +05:30
Kovid Goyal
087c74919e
Add some clarifications to text-sizing spec
Based on feedback from users
2025-02-06 08:59:27 +05:30
Kovid Goyal
9ca420a6bf
Clarify that text sizing is relative to base font size 2025-02-05 07:59:59 +05:30
Kovid Goyal
0c5a053c9c
... 2025-02-03 11:18:18 +05:30
Kovid Goyal
20821f4beb
macOS: Fix fallback font rendering for bold/italic text not working for some symbols that are present in the Menlo regular face but not the bold/italic faces
Fixes #8282
2025-02-03 11:06:42 +05:30
Kovid Goyal
4e06e0a8fc
... 2025-02-03 11:06:42 +05:30
Kovid Goyal
70152180f8
Update changelog 2025-02-03 11:06:42 +05:30
Kovid Goyal
59c4d05335
... 2025-02-03 11:06:42 +05:30
Kovid Goyal
744145f392
Add cairo and pixman as deps on Linux
Needed to render COLRv1 fonts. Which are needed because bitmap emoji
fonts dont render well at large font sizes such as can be used with
multicell chars.
2025-02-03 11:06:38 +05:30
Kovid Goyal
11315b35ba
... 2025-02-03 10:56:52 +05:30
Kovid Goyal
82d7cc1802
spelling 2025-02-03 10:56:52 +05:30
Kovid Goyal
57d1ec8648
... 2025-02-03 10:56:51 +05:30
Kovid Goyal
c2503988c1
Add a note about querying for scale and width separately 2025-02-03 10:56:51 +05:30
Kovid Goyal
78c83e8218
Add a sentence specifying the fractional scale does not adjust number of cells 2025-02-03 10:56:51 +05:30
Kovid Goyal
b53c4941b5
add link to issue discussing text-sizing protocol 2025-02-03 10:56:51 +05:30
Kovid Goyal
dfe59a75b8
... 2025-02-03 10:56:51 +05:30
Kovid Goyal
a30a639cb9
Add docs for multicell + control codes 2025-02-03 10:56:51 +05:30
Kovid Goyal
8fd7d3100f
More multicell docs 2025-02-03 10:56:51 +05:30
Kovid Goyal
9418f399c3
... 2025-02-03 10:56:51 +05:30
Kovid Goyal
530e1ea1b3
Add section on detecting text sizing protocol 2025-02-03 10:56:51 +05:30
Kovid Goyal
3655db3124
... 2025-02-03 10:56:51 +05:30
Kovid Goyal
3501e76238
Document how we solve the character width problem 2025-02-03 10:56:51 +05:30
Kovid Goyal
da234244a4
More docs on text sizing 2025-02-03 10:56:51 +05:30
Kovid Goyal
f1452a80dd
More work on text sizing docs 2025-02-03 10:56:51 +05:30
Kovid Goyal
484155ca89
Start work on documenting text sizing protocol 2025-02-03 10:56:50 +05:30
Kovid Goyal
ac381d1221
... 2025-02-03 10:55:46 +05:30
Kovid Goyal
066ce9d056
Note that when using ./dev/sh on Linux the X11 development libraries must be installed
Fixes #8280
2025-02-03 10:53:33 +05:30
Kovid Goyal
93dc28aa78
version 0.39.1 2025-02-01 12:23:57 +05:30
aalekhin
683737899f fix spelling 2025-01-29 23:15:07 +03:00
Kovid Goyal
1f33677c1a
... 2025-01-27 09:12:15 +05:30
Kovid Goyal
1266835ef7
Fix #8252 2025-01-26 17:58:54 +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
a754c8280f
Fix #8244 2025-01-22 19:01:55 +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
447fe503bf
... 2025-01-21 15:58:08 +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
abd33630da
Fix #8214 2025-01-12 19:07:36 +05:30
Kid
28e266808e
Fix repology link in quickstart doc 2025-01-10 17:02:52 +08:00
Kovid Goyal
5004cf2dbf
Make the primary use case for remote control via socket explicit 2025-01-10 09:12:29 +05:30
Justin Brooks
4ee1a6a6ee
Add vat to list of applications that use the protocol 2025-01-09 09:37:23 -05:00
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
Andrew Berry
8ec8a1b66a
Recommend using vim themes over terminal themes 2025-01-05 11:27:15 -05:00
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
dac6f88453
Cleanup previous PR 2024-12-28 08:08:09 +05:30
Peter Bronez
4b5ccc2911
Add Ghosttty to list of terminals implementing the graphics protocol
Ghostty 1.0 was just released. It implements the Kitty Graphics Protocol. I used a link to the specific code that implements the prototocol. Alternatively, could use the feature page https://ghostty.org/docs/features or home page https://ghostty.org
2024-12-27 13:54:50 -05:00
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
5994a0bb2d
note which version auto theme switching was added 2024-12-23 23:03:29 +05:30
Kovid Goyal
a8c6ead319
Update changelog
Fix #8150
2024-12-23 21:13:09 +05:30
Kovid Goyal
97f26a8a75
Add another matplotlib kitty backend 2024-12-22 21:20:07 +05:30
Kovid Goyal
3b89c686e6
Remove spurious slash escaping in vimrc example 2024-12-20 20:51:43 +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
463f17f9d8
... 2024-12-02 09:01:11 +05:30
Kovid Goyal
9fd4268ff6
Add gattino to integrations 2024-12-02 08:32:59 +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
Gregory Anders
3c852a517b
Correct OSC definition in color control protocol 2024-11-26 09:08:24 -06:00
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
f82c1a942e
... 2024-11-19 12:21:34 +05:30
Kovid Goyal
30ee2f3e10
Add chawan to integrations 2024-11-19 12:07:22 +05:30
Kovid Goyal
7dc6a6a660
Document the miscellaneous protocol extensions kitty uses 2024-11-19 11:51:21 +05:30