Kovid Goyal
da1626090a
Update codebase to Python 3.10 using pyupgrade
2025-02-03 10:56:50 +05:30
Kovid Goyal
f1d0d0949b
Run pyupgrade to update the codebase to python 3.9
...
Gets rid of a lot of typing ugliness by using type annotations on
builtin types
2024-07-31 07:55:27 +05:30
Kovid Goyal
e97c225b6c
Add *_into API for streaming encode/decode
2024-07-30 07:18:33 +05:30
Kovid Goyal
7e56920fa3
Get feature human readable names
2024-06-24 07:54:18 +05:30
Kovid Goyal
f5ae6fe152
Refactor font selection code to share more between fontconfig and CoreText
2024-06-24 07:54:12 +05:30
Kovid Goyal
7fe5d7b58f
Replace isort with ruff
2023-01-09 16:47:42 +05:30
Kovid Goyal
08f159c2ba
TypeCheck underline style names
2022-01-22 12:41:26 +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
6546c1da9b
run pyupgrade to upgrade the codebase to python3.6
2021-10-21 12:43:55 +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
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
b94d2b27f4
Refactor single key config parsing to use a special type
2021-01-07 18:07: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
382c31ddf2
Use a stub rather than TYPE_CHECKING
2020-03-15 13:27:40 +05:30