Allow workspace::ActivatePaneInDirection
to navigate out of the terminal panel (#21313)
Enhancement for #21238 Release Notes: - N/A
This commit is contained in:
parent
94faf9dd56
commit
eadb107339
1 changed files with 7 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue