Terminal in debugger (#29328)
- **debug-terminal** - **Use terminal inside debugger to spawn commands** Closes #ISSUE Release Notes: - N/A
This commit is contained in:
parent
d3911e34de
commit
c147daae4a
9 changed files with 255 additions and 170 deletions
|
@ -142,6 +142,10 @@ impl PaneGroup {
|
|||
self.root.first_pane()
|
||||
}
|
||||
|
||||
pub fn last_pane(&self) -> Entity<Pane> {
|
||||
self.root.last_pane()
|
||||
}
|
||||
|
||||
pub fn find_pane_in_direction(
|
||||
&mut self,
|
||||
active_pane: &Entity<Pane>,
|
||||
|
@ -360,6 +364,13 @@ impl Member {
|
|||
}
|
||||
}
|
||||
|
||||
fn last_pane(&self) -> Entity<Pane> {
|
||||
match self {
|
||||
Member::Axis(axis) => axis.members.last().unwrap().last_pane(),
|
||||
Member::Pane(pane) => pane.clone(),
|
||||
}
|
||||
}
|
||||
|
||||
pub fn render(
|
||||
&self,
|
||||
basis: usize,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue