Kovid Goyal
244f4597dc
launch: Decouple source and dest windows from active window
...
Fixes #8295
2025-02-07 13:40:44 +05:30
Kovid Goyal
da1626090a
Update codebase to Python 3.10 using pyupgrade
2025-02-03 10:56:50 +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
62fbda8c9b
When re-attaching a detached tab preserve internal layout state such as biases and orientations
...
Fixes #8106
2024-12-06 19:54:10 +05:30
Kovid Goyal
681048f1ca
launch command: A new --bias option to adjust the size of newly created windows declaratively
...
Still need to implement it for the Grid layout.
Fixes #7634
2024-07-20 12:37:18 +05:30
Kovid Goyal
04735eb072
...
2024-07-15 22:21:21 +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
2a5ba519f5
Fix #6923
2023-12-17 10:50:18 +05:30
Kovid Goyal
fccd776732
Fix overlay windows not inheriting the per-window padding and margin settings of their parents
...
Fixes #6063
2023-03-01 21:45:17 +05:30
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
Kovid Goyal
ab8a4c6b9f
Make per cell bias calculation overridable more easily
2022-04-08 14:52:53 +05:30
Kovid Goyal
6dc1617429
Avoid flicker when starting kittens such as the hints kitten
...
Fixes #4674
2022-03-23 15:55:11 +05:30
Kovid Goyal
ba1b3c3c2d
Fix mypy failures
2022-03-12 08:28:43 +05:30
pagedown
ba0f61d752
Refactor: More f-string for kitty
2022-01-29 20:17:46 +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
4fd76b09d9
kitty @ ls: Also report layout options
2021-10-21 13:44:06 +05:30
Kovid Goyal
6546c1da9b
run pyupgrade to upgrade the codebase to python3.6
2021-10-21 12:43:55 +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
02fb020dfd
Better fix for minimal border layout issue
...
Keep _set_dimensions() private
2021-05-17 15:30:03 +05:30
Kovid Goyal
bac6ebdf95
Fix incorrect border drawing when multiple tabs and multiple OS Windows are present and some of the OS Windows have tab bars and some dont
...
Fixes #3634
2021-05-17 15:04:33 +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
cf3f9d68b3
Use similar border drawing techniques for splits
2020-08-30 08:37:16 +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
d4c2b13dda
Prefer most recently activated window when selecting neighbors
...
This affects both activating and moving neighbor windows.
2020-07-11 23:52:33 +03:00
Kovid Goyal
e7b60a3628
Fix #2763
2020-06-13 20:09:26 +05:30
Kovid Goyal
39b2bf963c
Port the splits layout to the 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
e844ad6db3
Respect per-window margin/padding in stack layout
...
Also use the margin/padding of the base window for all overlay windows
2020-05-12 22:43:54 +05:30
Kovid Goyal
81b28bc1bd
More work on refactoring window groups, stack layout works
2020-05-12 22:43:54 +05:30
Kovid Goyal
e9c4d540b1
More work on refactoring window groups
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