Commit graph

2873 commits

Author SHA1 Message Date
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
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
4f6ca36bc2
Mention another terminal PDF viewer that uses the kitty graphics protocol 2024-11-12 09:35:51 +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
6ad9f6fd40
... 2024-11-07 09:34:10 +05:30
Kovid Goyal
c3c63d3a1e
Add a load event for watchers 2024-11-07 09:31:26 +05:30
Coleman McFarland
b9d820884b
Fix a typo in overview.rst 2024-11-06 21:12:53 -05:00
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
Kovid Goyal
15b5a9cfbd
... 2024-10-31 10:07:38 +05:30
Kovid Goyal
0b1a2b3fe6
... 2024-10-31 09:29:42 +05:30
Kovid Goyal
2531c31d02
version 0.37.0 2024-10-30 21:34:51 +05:30
Kovid Goyal
2458aad5b4
Update changelog 2024-10-30 21:29:49 +05:30
Kovid Goyal
8b7cd98a0e
When running a kitten that modifies the kitty config file if no config file exists create a commented out default config file and then modify it
Fixes #7991
2024-10-28 14:01:42 +05:30
Kovid Goyal
8bca84ed66
Fix background image flashing when closing a tab
Ensure the correct vertex array object is bound when calling
draw_bgimage. Before this fix it was order dependent on draw calls.

Fixes #7999
2024-10-28 12:30:03 +05:30
Kovid Goyal
cbffbade0e
Note that iTerm2 also supports the kitty keyboard protocol 2024-10-27 08:34:39 +05:30
Kovid Goyal
ccd2ca88d4
Update changelog 2024-10-25 20:02:54 +05:30
Kovid Goyal
9d1a3e5b44
Fix resizing window when alternate screen is active does not preserve trailing blank output line in the main screen
Fixes #7978
2024-10-19 13:05:31 +05:30
Kovid Goyal
4644ab3f37
... 2024-10-18 22:24:32 +05:30
Arnaud Vallette d'Osia
1c994e0bf4
add aerc + vaxis app / libs implementating kb protocol 2024-10-18 16:38:29 +00:00
Kovid Goyal
3a939b6a89
Update changelog 2024-10-18 11:51:39 +05:30
Kovid Goyal
d31459b092
tab_title_template allow using the 256 terminal colors for formatting 2024-10-15 11:45:47 +05:30
Kovid Goyal
70d72b22d8
Graphics protocol: Clear any partially uploaded data for a chunked load when any delete command is received
Fixes #7968
2024-10-13 09:49:44 +05:30
Kovid Goyal
08931a9aba
Add an example of seeing the output of a short lived command 2024-10-09 09:21:02 +05:30
Kovid Goyal
575538c3f9
icat: Fix --no-trailing-newline not working when using unicode placeholders
Fixes #7948
2024-10-07 10:49:25 +05:30
Kovid Goyal
7b4a6e00a7
List -> list in example code 2024-09-30 11:05:22 +05:30
Kovid Goyal
778c24211c
Link to requires system libraries for dev.sh 2024-09-29 22:04:37 +05:30
Kovid Goyal
af83d855de
Add a framework for easily and securely using remote control from the main function of a custom kitten 2024-09-29 20:36:12 +05:30
Kovid Goyal
c127517c96
version 0.36.4 2024-09-27 10:20:49 +05:30
Kovid Goyal
6834e366be
macOS: Fix a regression in the previous release that caused junk to be rendered in font previews in the choose fonts kitten and crash on Intel macs
Fixes #7892
2024-09-26 01:44:14 +05:30
Kovid Goyal
6f93fb22a4
Update changelog 2024-09-26 00:52:36 +05:30
Kovid Goyal
f48bcb1a17
Wayland GNOME: Fix a crash when using multiple monitors with different scales and starting on or moving to the monitor with lower scale
Fucking GNOME and its fucking lack of support for SSD. How much of my
life I have wasted on these nincompoops.

Fixes #7894
2024-09-26 00:49:04 +05:30
Kovid Goyal
44039baa39
version 0.36.3 2024-09-25 09:34:28 +05:30
Kovid Goyal
c3130419a7
Implement dynamic control of transparent background colors via escape code
Still have to implement it via remote control
2024-09-24 19:02:13 +05:30
Kovid Goyal
6ca187c42c
Replace the second_transparent_bg option
This is backwards incompatible, but only for a feature released 3 weeks
ago.
2024-09-24 19:02:13 +05:30
Kovid Goyal
83c989d4e9
Splits layout: Allow setting the split_axis option to auto so that all new windows have their split axis chosen automatically unless explicitly specified in the launch command
Fixes #7887
2024-09-24 14:21:23 +05:30
Kovid Goyal
958ad0d8b4
Remote control: Fix --match=state:self not working 2024-09-24 14:09:27 +05:30
Kovid Goyal
25e255e66f
kitten @ ls: Fix the `--self` flag not working
Fixes #7864
2024-09-17 10:39:15 +05:30
Kovid Goyal
7683a5d851
... 2024-09-15 12:28:23 +05:30
Kovid Goyal
d1bdbddbfc
macOS: Fix a regression in the previous release that caused kitty to fail to run after an unclean shutdown/crash
When porting the single instance code to C I forgot to port the lock
file usage.

Fixes #7846
2024-09-15 10:05:18 +05:30
Kovid Goyal
481153318b
Fix a regression that broke writing to the clipboard using the OSC 5522 protocol
Fixes #7858
2024-09-15 08:42:50 +05:30
Kovid Goyal
33e4a0f9cc
Fix a regression when tinting of background images was introduced that caused window borders to have background_opacity applied to them
Fixes #7850
2024-09-12 21:52:55 +05:30
Kovid Goyal
a23fb153e6
... 2024-09-10 07:25:19 +05:30
Kovid Goyal
2bb8539775
Use correct invocation command line for kittens in docs 2024-09-10 07:23:13 +05:30
Kovid Goyal
c166589150
macOS: Fix macos_option_as_alt not working when caps lock is engaged
Fixes #7836
2024-09-09 10:18:04 +05:30
Kovid Goyal
3b8c7f6dd9
macOS: Fix shortcuts that become entries in the global menubar being reported as removed shortcuts in the debug output 2024-09-08 09:48:14 +05:30
Kovid Goyal
f9504b4fba
Document the new click_events parameter for the shell integration protocol 2024-09-06 22:43:26 +05:30
Kovid Goyal
b479089619
Fix a regression in the previous release that broke use of the cd command in session files
Fixes #7829
2024-09-06 14:50:15 +05:30
Kovid Goyal
15ac33a058
version 0.36.2 2024-09-06 08:09:44 +05:30
Adam Chalmers
b5fc63cbb5 Fix typo in docs
s/firt/first
2024-09-04 08:06:06 -05:00
Kovid Goyal
8eb0b556b7
diff kitten: Fix a regression that broke diffing against remote files
Fixes #7797
2024-08-28 11:00:42 +05:30
Kovid Goyal
fdc3c3d7c1
kitten @: Fix a regression connecting to TCP sockets using plain IP addresses rather than hostnames
Fixes #7794
2024-08-27 18:30:51 +05:30
Kovid Goyal
0515dc1957
Update FAQ on NERD fonts to reflect the fact that kitty now has builtin NERD fonts 2024-08-27 16:31:55 +05:30
Kovid Goyal
7a4f0318ed
Remote control: When listening on a UNIX domain socket only allow connections from processes having the same user id
Fixes #7777
2024-08-26 19:07:18 +05:30
Kovid Goyal
0594033b31
Wayland: Move creation of OpenGL context to end of window creation function
Apparently with explicit sync it is now not possible to attach a
temporary buffer to a surface that also has an OpenGL context. So we
first attach the temporary buffer, and only after we are done waiting
for window creation do we attach the OpenGL context to the window
surface.

Fixes #7767 (maybe, not installing sway-git to check)
2024-08-26 15:36:27 +05:30
Kovid Goyal
75f5908009
Allow jumping to the nth previous active tab via goto_tab
This matches the docs for the goto_tab action and there is no reason not
to have this. For backwards compat 0 and -1 both go to the first previously
active tab as before. However -2 goes to the second previously active
tab, -3 to the third and so on.
2024-08-26 12:09:54 +05:30
Kovid Goyal
2c01405d85
... 2024-08-25 18:57:50 +05:30
Kovid Goyal
0d57253300
... 2024-08-24 17:18:05 +05:30
Kovid Goyal
611d8baf28
Linux: Fix a regression in 0.36.0 that caused font features defined via fontconfig to be ignored
Fixes #7773
2024-08-24 17:17:37 +05:30
Kovid Goyal
95245ee473
version 0.36.1 2024-08-24 06:22:42 +05:30
Kovid Goyal
808c68dd0b
... 2024-08-23 15:44:33 +05:30
Kovid Goyal
036241fc6c
macOS: Fix a regression in the previous release that caused --single-instance to not work when using macos-launch-services-cmdline 2024-08-23 15:27:26 +05:30
Kovid Goyal
86797ff96d
Fix #7763 2024-08-21 20:46:05 +05:30
Kovid Goyal
d75d372da0
Reset base64 streaming decoder after invalid input
Fixes #7757
2024-08-20 17:37:25 +05:30
Kovid Goyal
2ac26b0e6d
Fix #7752 2024-08-20 17:27:13 +05:30
Kovid Goyal
6d06415ec5
Another kitty icon 2024-08-20 07:15:02 +05:30
Kovid Goyal
8dc1dfed48
... 2024-08-19 21:38:15 +05:30
Kovid Goyal
3b27381a9b
... 2024-08-19 21:34:32 +05:30
Kovid Goyal
3abf808843
Improve some documentation 2024-08-19 21:30:42 +05:30
Kovid Goyal
4ed01bdd1e
... 2024-08-19 10:27:40 +05:30
Kovid Goyal
b3b2f56890
Installer: allow installing specific versions 2024-08-19 10:25:51 +05:30
Kovid Goyal
7c4977146f
Fix #7741 2024-08-19 08:51:08 +05:30
f0rc
d0ac1c62fe shift before control 2024-08-18 15:53:07 -05:00
Kovid Goyal
0084f93e1b
MacOS Intel: Fix a crash in the choose-fonts kitten when displaying previews of variable fonts
Looks like a bug in Py_BuildValue for s# values on that platform. Workaround by
constructing the string directly and passing to to Py_BuildValue.

Fixes #7734
2024-08-18 17:22:12 +05:30
Kovid Goyal
6fabb47aa2
... 2024-08-18 13:04:43 +05:30
Kovid Goyal
79983897b5
Show how to combine multiple key presses in the FAQ 2024-08-18 10:16:43 +05:30
Kovid Goyal
554a2b1811
Allow unfocused cursor shape to remain unchanged
Fixes #7728
2024-08-17 15:49:55 +05:30
Kovid Goyal
aa83860628
Cleanup formatting 2024-08-17 12:46:19 +05:30
Kovid Goyal
96b0912400
version 0.36.0 2024-08-17 10:05:06 +05:30
Kovid Goyal
bb090ccc72
Fix a regression in notify_on_cmd_finish that caused notifications to appear for every command after the first
Fixes #7725
2024-08-16 20:47:52 +05:30
Kovid Goyal
81061a8d43
macOS: Bump the minimum required macOS version to Catalina released five years ago.
Catalina is actually already EOL as of July 2022 but we dont need
anything from newer releases that isn't detected at runtime. Going to
Catalina allows us to use a better format for the generated DMG (UMNO
instead of ULFO which compresses better).
2024-08-13 09:03:38 +05:30
Kovid Goyal
2bff4af9bf
When shell is set to . respect the SHELL environment variable in the environment in which kitty is launched
Fixes #7714
2024-08-11 21:56:44 +05:30
Kovid Goyal
d76767fc89
Fix #7712 2024-08-11 10:18:38 +05:30
Kovid Goyal
9d256d181e
... 2024-08-09 15:12:54 +05:30
Kovid Goyal
d7902f6b24
Wayland GNOME: Fix a small rendering artifact when docking a window at a screen edge or maximizing it
For some reason destroying the shadow surfaces causes mutter to render one of them at its old relative position. So workaround by not destroying the surfaces, modern mutter anyway seems to hide them when the window is docked.

Fixes #7701
2024-08-07 13:34:10 +05:30
Kovid Goyal
c852a56574
Cleanup previous PR 2024-08-04 21:06:32 +05:30
Kovid Goyal
d9741421a8
Merge branch 'docs-dev' of https://github.com/PythonHacker24/kitty 2024-08-04 20:30:40 +05:30
Kovid Goyal
2c743dcdb2
Update sound support in desktop notifications spec
Add a short list of standard sound names.
2024-08-04 20:20:41 +05:30
Kovid Goyal
c8a16688b5
... 2024-08-03 13:53:25 +05:30
Kovid Goyal
0a895f153e
Add a note to the spec that terminals must sanitize identifiers 2024-08-03 13:51:23 +05:30
Kovid Goyal
bd8162fa42
Add support for controlling the sound played with notifications 2024-08-03 13:46:38 +05:30
PythonHacker24
3ac24e7c95 added docs for cli interfacing as a guide for developers 2024-08-03 11:56:50 +05:30
Kovid Goyal
62bd6c88e9
Wayland GNOME: Fix the font size in the OS Window title bar changing with the size of the text in the window 2024-08-01 12:37:04 +05:30
Kovid Goyal
35d23e817c
typo in docs 2024-08-01 11:33:09 +05:30
Kovid Goyal
6ffe2d82b8
On Linux use the notification server capabilities when responding to queries 2024-08-01 10:32:51 +05:30
Kovid Goyal
ae47e53bc6
... 2024-08-01 07:24:28 +05:30
Kovid Goyal
bc0eed88d1
Add docs for the notify kitten 2024-08-01 07:21:48 +05:30
Kovid Goyal
aeeabed23c
Add buttons to the notifications spec 2024-08-01 06:58:32 +05:30
Kovid Goyal
1944ac9c13
Update changelog 2024-07-31 20:46:58 +05:30
Kovid Goyal
1f656eccbb
Fix tests for buttons functionality 2024-07-31 15:21:57 +05:30
Kovid Goyal
a144c267a3
... 2024-07-31 15:16:53 +05:30