mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-08-02 14:57:31 +03:00
fix type mismatch in moveTab
function parameter
This commit is contained in:
@ -528,7 +528,7 @@ fn gotoTab(_: *App, target: apprt.Target, tab: apprt.action.GotoTab) void {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fn moveTab(_: *App, target: apprt.Target, position: isize) void {
|
fn moveTab(_: *App, target: apprt.Target, move_tab: apprt.action.MoveTab) void {
|
||||||
switch (target) {
|
switch (target) {
|
||||||
.app => {},
|
.app => {},
|
||||||
.surface => |v| {
|
.surface => |v| {
|
||||||
@ -540,7 +540,7 @@ fn moveTab(_: *App, target: apprt.Target, position: isize) void {
|
|||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
|
|
||||||
window.moveTab(v.rt_surface, @intCast(position));
|
window.moveTab(v.rt_surface, @intCast(move_tab.amount));
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user