Allow workspace::ActivatePaneInDirection to navigate out of the terminal panel (#21313)
Enhancement for #21238 Release Notes: - N/A
This commit is contained in:
@@ -957,6 +957,13 @@ impl Render for TerminalPanel {
|
||||
cx,
|
||||
) {
|
||||
cx.focus_view(&pane);
|
||||
} else {
|
||||
terminal_panel
|
||||
.workspace
|
||||
.update(cx, |workspace, cx| {
|
||||
workspace.activate_pane_in_direction(action.0, cx)
|
||||
})
|
||||
.ok();
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user