Kovid Goyal
71e69c1a9e
Workaround bug in ruff
2023-07-22 12:00:10 +05:30
Kovid Goyal
7fe5d7b58f
Replace isort with ruff
2023-01-09 16:47:42 +05:30
Kovid Goyal
c6360537e5
Try to fix tests failing on Python 3.11
2022-12-16 10:05:05 +05:30
Kovid Goyal
08f159c2ba
TypeCheck underline style names
2022-01-22 12:41:26 +05:30
Kovid Goyal
4ce6d718c9
icat kitten: Add options to mirror images and remove their transparency before displaying them
...
Fixes #4513
2022-01-14 22:02:35 +05:30
Kovid Goyal
0c274a9a0b
Parse actions on demand
...
This removes the startup cost of parsing hundreds of default actions
when action_alias or kitten_alias are used. Although the cost is on the
order of 1ms, this design feels cleaner and gives nicer debug config
output.
2021-11-29 21:51:42 +05:30
Kovid Goyal
44bcbc4823
Make it easier to handle simple click events
2021-09-28 20:12:55 +05:30
Kovid Goyal
bcff2a7fb6
Add aliases to GraphicsCommand to make it more useable
2021-07-28 13:28:21 +05:30
Kovid Goyal
6d7df1c5e8
Refactor configuration file parsing
...
Now the time for importing the kitty.config module has been halved, from
16ms from 32ms on my machine. Also, the new architecture will eventually
allow for auto generating a bunch of python-to-C boilerplate code.
2021-05-31 17:40:49 +05:30
Kovid Goyal
5470dd74bd
Move options code into its own directory
2021-05-31 17:40:48 +05:30
Kovid Goyal
6c344d4ae2
Move the action parsing code into options_types
2021-05-31 17:40:47 +05:30
Kovid Goyal
ba1ee7e6cc
Code to dispatch mouse events to python
2021-05-10 07:16:43 +05:30
Kovid Goyal
863fff8620
Cleanup previous PR
2021-02-24 12:32:26 +05:30
Kovid Goyal
ad4665e638
Add support for newer keys to GraphicsCommand serializer
2021-01-31 20:58:42 +05:30
Kovid Goyal
b823af00ff
Get rid of a bunch of noqas
2021-01-22 22:04:53 +05:30
Kovid Goyal
b94d2b27f4
Refactor single key config parsing to use a special type
2021-01-07 18:07:17 +05:30
Kovid Goyal
581126c748
More powerful match criteria for fragments
2020-09-19 07:31:17 +05:30
Kovid Goyal
0d6bca3e5d
Allow specifying rules to perform arbitrary actions in kitty when opening URLs
2020-09-18 15:01:25 +05:30
Kovid Goyal
39b2bf963c
Port the splits layout to the new groups API
2020-05-12 22:43:54 +05:30
Kovid Goyal
382c31ddf2
Use a stub rather than TYPE_CHECKING
2020-03-15 13:27:40 +05:30