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
|
@ -1420,9 +1420,6 @@ impl Item for TerminalView {
|
|||
}
|
||||
}
|
||||
},
|
||||
None if self.terminal.read(cx).debug_terminal() => {
|
||||
(IconName::Debug, Color::Muted, None)
|
||||
}
|
||||
None => (IconName::Terminal, Color::Muted, None),
|
||||
};
|
||||
|
||||
|
@ -1583,7 +1580,7 @@ impl SerializableItem for TerminalView {
|
|||
cx: &mut Context<Self>,
|
||||
) -> Option<Task<gpui::Result<()>>> {
|
||||
let terminal = self.terminal().read(cx);
|
||||
if terminal.task().is_some() || terminal.debug_terminal() {
|
||||
if terminal.task().is_some() {
|
||||
return None;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue