Allow splitting terminal items in the central pane group (#22088)
Follow-up of https://github.com/zed-industries/zed/pull/22004 Closes https://github.com/zed-industries/zed/issues/22078 Release Notes: - Fixed splitting terminal items in the center
This commit is contained in:
parent
88f7942f11
commit
ff2ad63037
6 changed files with 294 additions and 256 deletions
|
@ -324,6 +324,7 @@ impl TerminalBuilder {
|
|||
#[allow(clippy::too_many_arguments)]
|
||||
pub fn new(
|
||||
working_directory: Option<PathBuf>,
|
||||
python_venv_directory: Option<PathBuf>,
|
||||
task: Option<TaskState>,
|
||||
shell: Shell,
|
||||
mut env: HashMap<String, String>,
|
||||
|
@ -471,6 +472,7 @@ impl TerminalBuilder {
|
|||
word_regex: RegexSearch::new(WORD_REGEX).unwrap(),
|
||||
vi_mode_enabled: false,
|
||||
is_ssh_terminal,
|
||||
python_venv_directory,
|
||||
};
|
||||
|
||||
Ok(TerminalBuilder {
|
||||
|
@ -619,6 +621,7 @@ pub struct Terminal {
|
|||
pub breadcrumb_text: String,
|
||||
pub pty_info: PtyProcessInfo,
|
||||
title_override: Option<SharedString>,
|
||||
pub python_venv_directory: Option<PathBuf>,
|
||||
scroll_px: Pixels,
|
||||
next_link_id: usize,
|
||||
selection_phase: SelectionPhase,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue