Commit Graph

14897 Commits

Author SHA1 Message Date
Jonas Drotleff
bfbf22eae4 ssh kitten: Fix zsh shell integration expanding variables in title
Remove usage of the `-P` option from the print inside the
`_ksi_precmd` and `_ksi_preexec` functions. Instead, the result of
`builtin print -Pn "%m"` is stored in the local variable `hostname`.
This mitigates accidental expansion of variables in the command to be
executed.

Fixes #8193.
2025-01-05 02:21:09 +01:00
Kovid Goyal
6fbeb939de Don't report color scheme preference change when it is changed via escape code 2025-01-05 06:10:49 +05:30
Kovid Goyal
f3db7e7554 diff kitten: Automatically change colors on terminal color scheme change 2025-01-05 06:00:24 +05:30
Kovid Goyal
98c1e0f7aa Allow reusing the token from chroma lexer 2025-01-04 17:20:08 +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
fc463aaba5 Code to query terminal for capabilities 2025-01-03 21:30:05 +05:30
Kovid Goyal
e1f60fa71a DRYer 2025-01-03 12:24:26 +05:30
Kovid Goyal
51f08b7e45 Fix #8186 2025-01-03 12:18:05 +05:30
Kovid Goyal
b50b3530e9 Merge branch 'master' of https://github.com/roshal/kitty 2025-01-03 11:26:56 +05:30
roshal
4d88e9938c update 2025-01-03 07:26:33 +03:00
Kovid Goyal
268c8cbb37 Merge branch 'master' of https://github.com/roshal/kitty 2025-01-03 09:12:21 +05:30
roshal
855fd0241c update 2025-01-03 05:59:42 +03:00
roshal
149900a8e2 polish 2025-01-03 05:48:59 +03:00
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
dd249df5eb Dont encode enter, tab and backspace when lock mods are set
Otherwise user cant type reset when num lock is set.
2025-01-01 06:10:47 +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
37c3bbc684 ... 2024-12-31 12:20:24 +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
Kovid Goyal
d169418781 Merge branch 'patch-1' of https://github.com/pbronez/kitty 2024-12-28 07:37:14 +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 v0.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
155990ce0b Fix some method declarations for Python API compat 2024-12-24 22:54:22 +05:30
Kovid Goyal
bc612a5437 Merge branch 'cursor_trail' of https://github.com/jinhwanlazy/kitty 2024-12-24 17:56:10 +05:30
Rick Choi
d543d2fafd fix bug that character under cursor trail not visible 2024-12-24 19:45:10 +09:00
Kovid Goyal
50e5b339b2 Fix failing test 2024-12-24 09:59:38 +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
8ff7a01ecb Merge branch '8092' of https://github.com/jinhwanlazy/kitty 2024-12-24 07:13:44 +05:30
Rick Choi
b8568f6b3b fix cursor_trail issue with long key press 2024-12-24 10:32:54 +09:00
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
0ea369caad Merge branch '8150' of https://github.com/jinhwanlazy/kitty 2024-12-23 21:09:48 +05:30
Rick Choi
16d84f499f fix bug that trail not visible when vertical move 2024-12-24 00:06:35 +09:00
Kovid Goyal
97f26a8a75 Add another matplotlib kitty backend 2024-12-22 21:20:07 +05:30
Kovid Goyal
b959ac5ab8 And again with mypy 2024-12-21 08:14:56 +05:30
Kovid Goyal
3bee1857f7 Make mypy happy 2024-12-21 08:06:29 +05:30
Kovid Goyal
3b89c686e6 Remove spurious slash escaping in vimrc example 2024-12-20 20:51:43 +05:30
Kovid Goyal
0a28521677 ... 2024-12-20 19:12:41 +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
af9e9fbc6f Fix #8138 2024-12-20 08:58:35 +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