Commit graph

1593 commits

Author SHA1 Message Date
Kovid Goyal
da1626090a
Update codebase to Python 3.10 using pyupgrade 2025-02-03 10:56:50 +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
081c061538
Clarify prefix usage 2025-01-16 11:52:37 +05:30
Kovid Goyal
7a9e5d9dcb
... 2025-01-16 11:50:43 +05:30
Kovid Goyal
2dc6300f55
Fix #8205 2025-01-09 11:29:31 +05:30
Kovid Goyal
9a6e7e4cdf
... 2025-01-07 11:55:07 +05:30
Kovid Goyal
d7207edf2b
DRYer 2025-01-07 11:54:06 +05:30
Kovid Goyal
42e0f98a27
... 2025-01-07 10:36:59 +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
795bf7fb52
Dont use a global var for mocking 2025-01-05 20:58:33 +05:30
Kovid Goyal
86a6685446
Add mock for failing test 2025-01-05 20:36:32 +05:30
Kovid Goyal
2d02ff1c5f
Implement using effective kitty config options for kittens
Also centralise reading of kitty options
2025-01-05 20:16:43 +05:30
Kovid Goyal
daa8e6b05d
Use base64 padding when encoding in the notify kitten
Otherwise kitty warns about incomplete base64 data in its stderr
2025-01-05 12:59:28 +05:30
Kovid Goyal
c07037b558
... 2025-01-05 12:58:34 +05:30
Kovid Goyal
334adf9c1a
Ensure temp files and other resources are cleaned up even if kitty crashes or is SIGKILLed 2025-01-05 12:51:59 +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
roshal
149900a8e2 polish 2025-01-03 05:48:59 +03:00
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
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
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
826a869c96
Cleanup previous PR 2024-11-25 11:33:38 +05:30
Robin Carlier
2005069f90 Panel: fix height, exclusive zone flag, better helptext 2024-11-24 10:48:37 +01:00
Robin Carlier
00d67a6557 Panel: add focus-policy option 2024-11-23 21:07:57 +01:00
Robin Carlier
5f1c603220 Panel: add options for margin 2024-11-23 21:07:57 +01:00
Robin Carlier
ce2bcbb92d Panel: add a edge=none option 2024-11-23 21:07:57 +01:00
Robin Carlier
4eb8e6052f Panel: choose the display layer 2024-11-23 21:07:57 +01:00
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
96c1a5c4d1
Get automatic theme switching working 2024-11-07 17:31:44 +05:30
Kovid Goyal
11b0522eb9
Fix #8001 2024-10-29 05:32:07 +05:30
Jackie Li
2208b3be3a
diff kitten: fix mouse move down up selection 2024-10-23 19:12:25 +01:00
Kovid Goyal
62d5e13cbd
themes kitten: fix some keybaord shortcuts not working with weird IME systems on Linux that convert key events into text events 2024-10-15 09:51:52 +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
8eba162d32
... 2024-10-06 10:33:25 +05:30
Kovid Goyal
d56178d790
sigh, old python 2024-09-29 21:08:15 +05:30
Kovid Goyal
71d49b5328
choose-fonts kitten: allow specifying the name of the conf file to edit
Fixes #7926
2024-09-29 20:50:00 +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
0a7812ab20
Add nil check in send 2024-09-26 00:55:45 +05:30
Kovid Goyal
100f472a08
Clarify docs 2024-09-24 20:15:39 +05:30
Kovid Goyal
7537fa00e4
Cleanup some code 2024-09-15 08:03:16 +05:30
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
173bf4a4a3
Disable in band resize notifications in a few more places 2024-08-21 12:11:14 +05:30
Kovid Goyal
807e14684f
Fix #7762 2024-08-21 12:01:12 +05:30
Jae-Won Chung
8a98b3f4ef
Fix typo in notify kitten usage 2024-08-17 22:08:15 -04:00
Kovid Goyal
40d1781404
Fix #7688 2024-08-04 17:18:31 +05:30
Kovid Goyal
bd8162fa42
Add support for controlling the sound played with notifications 2024-08-03 13:46:38 +05:30
Kovid Goyal
3367871408
Fix #7690 2024-08-03 07:17:46 +05:30
Kovid Goyal
34484ef854
Cleanup command line options for notify kitten 2024-08-01 06:44:15 +05:30