Merge pull request #1337 from mitchellh/split-dir

macos: select split above/below should go to correct split when nested
This commit is contained in:
Mitchell Hashimoto
2024-01-19 21:13:09 -08:00
committed by GitHub

View File

@@ -54,10 +54,10 @@ extension Ghostty {
let node: SplitNode let node: SplitNode
switch (direction) { switch (direction) {
case .previous, .bottom, .left: case .previous, .top, .left:
node = container.bottomRight node = container.bottomRight
case .next, .top, .right: case .next, .bottom, .right:
node = container.topLeft node = container.topLeft
} }