Remove wezterm fork from dependencie (#8998)

Improves build time by removing wezterm dependency
([#8604](https://github.com/zed-industries/zed/issues/8604)).

Release Notes:

- N/A
This commit is contained in:
dalton-oliveira 2024-03-12 16:27:40 -03:00 committed by GitHub
parent e7289c385d
commit 41d8ba12ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 183 additions and 110 deletions

View file

@ -455,9 +455,7 @@ fn subscribe_for_terminal_events(
cx.emit(ItemEvent::UpdateTab);
let terminal = this.terminal().read(cx);
if terminal.task().is_none() {
if let Some(foreground_info) = &terminal.foreground_process_info {
let cwd = foreground_info.cwd.clone();
if let Some(cwd) = terminal.get_cwd() {
let item_id = cx.entity_id();
let workspace_id = this.workspace_id;
cx.background_executor()