Terminal in debugger (#29328)

- **debug-terminal**
- **Use terminal inside debugger to spawn commands**

Closes #ISSUE

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin 2025-04-24 14:26:09 -06:00 committed by GitHub
parent d3911e34de
commit c147daae4a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 255 additions and 170 deletions

View file

@ -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;
}