mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-12-28 17:14:39 +00:00
Replaced direction switch, direclty handling next and previous now
This commit is contained in:
committed by
Mitchell Hashimoto
parent
b344c978d0
commit
6b8a7e1dd1
@@ -5394,10 +5394,8 @@ pub fn performBindingAction(self: *Surface, action: input.Binding.Action) !bool
|
||||
.{ .surface = self },
|
||||
.goto_window,
|
||||
switch (direction) {
|
||||
inline else => |tag| @field(
|
||||
apprt.action.GotoWindow,
|
||||
@tagName(tag),
|
||||
),
|
||||
.next => apprt.action.GotoWindow.next,
|
||||
.previous => apprt.action.GotoWindow.previous,
|
||||
},
|
||||
),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user