mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-19 22:10:29 +00:00
macos: add key binding for equalizing split sizes
This commit is contained in:
@@ -271,6 +271,11 @@ class TerminalController: NSWindowController, NSWindowDelegate,
|
||||
splitMoveFocus(direction: .right)
|
||||
}
|
||||
|
||||
@IBAction func equalizeSplits(_ sender: Any) {
|
||||
guard let surface = focusedSurface?.surface else { return }
|
||||
ghostty.splitEqualize(surface: surface)
|
||||
}
|
||||
|
||||
@IBAction func moveSplitDividerUp(_ sender: Any) {
|
||||
guard let surface = focusedSurface?.surface else { return }
|
||||
ghostty.splitResize(surface: surface, direction: .up, amount: 10)
|
||||
|
||||
Reference in New Issue
Block a user