This commit is contained in:
Michael Sippel 2023-02-24 18:44:47 +01:00
parent b6929f9463
commit 73499e0ab3
Signed by: senvas
GPG key ID: F96CF119C34B64A6
2 changed files with 2 additions and 4 deletions

View file

@ -68,7 +68,7 @@ pub struct Context {
/// assigns a name to every type
type_dict: Arc<RwLock<TypeDict>>,
/// vertices of the graph
/// named vertices of the graph
nodes: HashMap< String, NestedNode >,
/// todo: beautify

View file

@ -110,9 +110,7 @@ pub fn init_editor_ctx(parent: Arc<RwLock<Context>>) -> Arc<RwLock<Context>> {
depth
);
node.view = Some(pty_editor.pty_view(
("".into(), "".into(), "".into())
));
node.view = Some(pty_editor.pty_view(("", "", "")));
node.cmd = Some(Arc::new(RwLock::new(pty_editor)));
Some(node)
}