33 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
3bee1857f7 Make mypy happy 2024-12-21 08:06:29 +05:30
Robin Carlier
2005069f90 Panel: fix height, exclusive zone flag, better helptext 2024-11-24 10:48:37 +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
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
0b6943fb5a ... 2024-03-24 20:48:20 +05:30
Kovid Goyal
333ea519ed Infrastructure to go from panel CLI opts all the way to wayland layer shell implementation 2024-03-24 20:48:20 +05:30
Kovid Goyal
56978189e0 Infrastructure for passing layer shell config from python to glfw 2024-03-24 20:48:20 +05:30
Kovid Goyal
d8bbb16d5e Make the single instance data type checked 2023-01-23 17:45:11 +05:30
Kovid Goyal
7fe5d7b58f Replace isort with ruff 2023-01-09 16:47:42 +05:30
Kovid Goyal
607bc845fc Allow creating overlay-main windows, which are treated as the active window unlike normal overlays
Fixes #5392
2022-09-03 19:04:31 +05:30
Kovid Goyal
63fa0c4e94 Nicer fix for human_repr of keys defined with kitty_mod 2022-08-12 12:37:15 +05:30
Kovid Goyal
ce91b6d9d9 Switch to using the new SingleKey implementation 2022-08-12 12:21:06 +05:30
Kovid Goyal
2b7455e353 Use kitty_mod in debug config output
Fixes #5367
2022-08-11 23:45:23 +05:30
Kovid Goyal
7e3bd8586f Dont use SIGTSTP and SIGCONT in the test as they are very flaky 2022-06-13 20:29:58 +05:30
Kovid Goyal
acf227803f Move event formatting into the types 2022-01-19 14:30:08 +05:30
Kovid Goyal
c11da595ef Move calculation of window render data into native code
There was no reason to do it in python
2021-12-05 12:21:24 +05:30
Kovid Goyal
e97afb3433 Make the repr of SingleKey shorter 2021-11-22 20:40:42 +05:30
Kovid Goyal
d53d92b890 Proper handling of async responses to peers 2021-10-31 21:09:24 +05:30
Kovid Goyal
6f19fd5912 Add more type annotations 2021-10-27 10:50:24 +05:30
Kovid Goyal
9c2f96f7eb Add more type annotations 2021-10-27 08:45:45 +05:30
Kovid Goyal
6546c1da9b run pyupgrade to upgrade the codebase to python3.6 2021-10-21 12:43:55 +05:30
Kovid Goyal
a16ffcdde2 Handle mouse clicks when displaying focus window overlay 2021-10-15 09:55:15 +05:30
Kovid Goyal
cc261db606 ... 2021-09-27 12:02:23 +05:30
Kovid Goyal
7e17ed21ce Use the atomic update decorator everywhere 2021-09-27 12:00:33 +05:30
Kovid Goyal
5ff66f6bfa When reloading config also reload open-actions.conf 2021-08-30 20:24:08 +05:30
Kovid Goyal
c257adb56a Add a debug action to dump current lines with their attributes 2021-08-18 10:06:09 +05:30
Kovid Goyal
276a82d1f7 Make get_all_actions() work in binary builds 2021-08-05 06:10:41 +05:30
Kovid Goyal
417c81de60 Implement parsing for mouse_map config 2021-05-10 07:16:43 +05:30
Kovid Goyal
fe07306ff1 Use a nicer decorator for functions that only need to be run once 2021-02-05 10:40:52 +05:30
Kovid Goyal
9cf5348c36 Modify ImageMagick wrapper to handle animated images 2021-02-01 14:12:26 +05:30
Kovid Goyal
027c5a57f1 Work on porting kittens to use new key infrastructure
Also move type definitions into their own module
2021-01-16 20:52:14 +05:30