Terminal in debugger (#29328)
- **debug-terminal** - **Use terminal inside debugger to spawn commands** Closes #ISSUE Release Notes: - N/A
This commit is contained in:
@@ -352,7 +352,6 @@ impl TerminalBuilder {
|
||||
is_ssh_terminal: bool,
|
||||
window: AnyWindowHandle,
|
||||
completion_tx: Sender<Option<ExitStatus>>,
|
||||
debug_terminal: bool,
|
||||
cx: &App,
|
||||
) -> Result<TerminalBuilder> {
|
||||
// If the parent environment doesn't have a locale set
|
||||
@@ -502,7 +501,6 @@ impl TerminalBuilder {
|
||||
word_regex: RegexSearch::new(WORD_REGEX).unwrap(),
|
||||
python_file_line_regex: RegexSearch::new(PYTHON_FILE_LINE_REGEX).unwrap(),
|
||||
vi_mode_enabled: false,
|
||||
debug_terminal,
|
||||
is_ssh_terminal,
|
||||
python_venv_directory,
|
||||
};
|
||||
@@ -660,7 +658,6 @@ pub struct Terminal {
|
||||
python_file_line_regex: RegexSearch,
|
||||
task: Option<TaskState>,
|
||||
vi_mode_enabled: bool,
|
||||
debug_terminal: bool,
|
||||
is_ssh_terminal: bool,
|
||||
}
|
||||
|
||||
@@ -1855,10 +1852,6 @@ impl Terminal {
|
||||
self.task.as_ref()
|
||||
}
|
||||
|
||||
pub fn debug_terminal(&self) -> bool {
|
||||
self.debug_terminal
|
||||
}
|
||||
|
||||
pub fn wait_for_completed_task(&self, cx: &App) -> Task<Option<ExitStatus>> {
|
||||
if let Some(task) = self.task() {
|
||||
if task.status == TaskStatus::Running {
|
||||
|
||||
Reference in New Issue
Block a user