mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-15 08:16:13 +03:00

Fixes #1330 I admit this code is a mess to understand, so I'm not 100% certain this fix is correct. It definitely fixes #1330 but I'm not sure if this breaks other split scenarios. I believe that our logic here was simply wrong, notice that left/right had opposite logic and this brings it all into consistency. Long term, we should redo all of our directional movement since we've refactored how split state is stored now on the controller with parent references.