You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm using remote-control and resize-window to build a tab layout with window of given size (using layout splits).
When applying the resize-window the new window sizes are not the one expected.
To Reproduce
Steps to reproduce the behavior:
Run the following script in a kitty --config NONE -o allow_remote_control=yes window:
Using an increment of 10, we get the following output, where the increment is always wrong. In fact the bigger the increment the bigger the difference.
windows sizes in kitty are based on biases not cell sizes so when you resize in cells you will get a bias that comes close to the asked for size but there is no guarantee it will be exact. That said I am sure the bias calculations could be improved for better consistency, patches are welcome, relevant code is in the layout folder.
Describe the bug
I'm using remote-control and
resize-window
to build a tab layout with window of given size (using layoutsplits
).When applying the
resize-window
the new window sizes are not the one expected.To Reproduce
Steps to reproduce the behavior:
kitty --config NONE -o allow_remote_control=yes
window:10
, we get the following output, where the increment is always wrong. In fact the bigger the increment the bigger the difference.hsplit
and--axis vertical
.Environment details
The text was updated successfully, but these errors were encountered: