Kovid Goyal
da1626090a
Update codebase to Python 3.10 using pyupgrade
2025-02-03 10:56:50 +05:30
Kovid Goyal
5ab484cac2
Implement --bias for the grid layout
2024-07-20 13:11:06 +05:30
Kovid Goyal
92385f6db7
Make function re-useable and simplify bias docs a bit
2024-07-20 12:44:46 +05:30
Johannes Wüller
7c8660a694
Extend placement_stragegy options
...
placement_strategy previously only accepted 'center' and 'top-left', but
others are potentially useful too. I personally like 'bottom-left'. The
new set of accepted values mirrors the window_logo_position option.
2024-05-08 16:33:04 +02:00
Kovid Goyal
7fe5d7b58f
Replace isort with ruff
2023-01-09 16:47:42 +05:30
Kovid Goyal
2e8ef66496
Another mypy update another round of spurious errors
2022-11-08 17:17:40 +05:30
Kovid Goyal
c40ef01445
Fix resizing window that is extra tall/wide because of left-over cells not working reliably
...
Fixes #4913
2022-04-08 15:41:53 +05:30
pagedown
f1b6fb397b
Remove redundant variable assignment
2022-01-01 21:28:55 +08:00
Kovid Goyal
4494ddd8ff
mypy: Turn on return value checks
...
Its a shame GvR is married to "return None"
https://github.com/python/mypy/issues/7511
2021-10-26 22:39:14 +05:30
Kovid Goyal
6546c1da9b
run pyupgrade to upgrade the codebase to python3.6
2021-10-21 12:43:55 +05:30
Kovid Goyal
518057489c
Also output layout state in kitty @ ls
2021-04-17 12:11:56 +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
Kovid Goyal
31d9f663fc
Simplify border drawing code
2020-08-30 14:05:43 +05:30
Kovid Goyal
f01c0945da
Fix mypy failing
2020-08-29 18:08:32 +05:30
Kovid Goyal
7074f9f776
Grid layout: Improve rendering of borders when using minimal borders
2020-08-29 15:53:14 +05:30
Juho Peltonen
ea30c84240
Fix grid layout neighbors
...
Grid layout can have multiple neighbors in one side when either current
column or neighboring column is special.
2020-07-11 23:52:37 +03:00
Kovid Goyal
39b2bf963c
Port the splits layout to the new groups API
2020-05-12 22:43:54 +05:30
Kovid Goyal
70ccc1cf6d
Port Grid layout to new groups API
2020-05-12 22:43:54 +05:30
Kovid Goyal
01c0e8da93
Tall and Fat layouts ported to new groups API
2020-05-12 22:43:54 +05:30
Kovid Goyal
50d9718c68
Start work on refactoring management of windows
2020-05-12 22:43:53 +05:30