mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-07 20:39:04 +03:00
Checkpoint, not compiling
This commit is contained in:
parent
314c26e4ec
commit
907d3e4035
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -5356,6 +5356,7 @@ dependencies = [
|
||||
"alacritty_terminal",
|
||||
"anyhow",
|
||||
"client",
|
||||
"context_menu",
|
||||
"dirs 4.0.0",
|
||||
"editor",
|
||||
"futures",
|
||||
|
@ -16,6 +16,7 @@ theme = { path = "../theme" }
|
||||
settings = { path = "../settings" }
|
||||
workspace = { path = "../workspace" }
|
||||
project = { path = "../project" }
|
||||
context_menu = { path = "../context_menu" }
|
||||
smallvec = { version = "1.6", features = ["union"] }
|
||||
smol = "1.2.5"
|
||||
mio-extras = "2.0.6"
|
||||
|
@ -5,6 +5,7 @@ use gpui::{
|
||||
actions, elements::*, AnyViewHandle, AppContext, Entity, ModelHandle, View, ViewContext,
|
||||
ViewHandle,
|
||||
};
|
||||
use theme::ContextMenu;
|
||||
use workspace::{Item, Workspace};
|
||||
|
||||
use crate::TerminalSize;
|
||||
@ -39,6 +40,7 @@ pub struct TerminalView {
|
||||
modal: bool,
|
||||
pub content: TerminalContent,
|
||||
associated_directory: Option<PathBuf>,
|
||||
context_menu: ViewHandle<ContextMenu>,
|
||||
}
|
||||
|
||||
pub struct ErrorView {
|
||||
@ -111,6 +113,7 @@ impl TerminalView {
|
||||
modal,
|
||||
content,
|
||||
associated_directory: working_directory,
|
||||
context_menu: cx.add_view(|cx| ContextMenu::new(cx)),
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user