style
This commit is contained in:
parent
b6929f9463
commit
73499e0ab3
2 changed files with 2 additions and 4 deletions
|
@ -68,7 +68,7 @@ pub struct Context {
|
||||||
/// assigns a name to every type
|
/// assigns a name to every type
|
||||||
type_dict: Arc<RwLock<TypeDict>>,
|
type_dict: Arc<RwLock<TypeDict>>,
|
||||||
|
|
||||||
/// vertices of the graph
|
/// named vertices of the graph
|
||||||
nodes: HashMap< String, NestedNode >,
|
nodes: HashMap< String, NestedNode >,
|
||||||
|
|
||||||
/// todo: beautify
|
/// todo: beautify
|
||||||
|
|
|
@ -110,9 +110,7 @@ pub fn init_editor_ctx(parent: Arc<RwLock<Context>>) -> Arc<RwLock<Context>> {
|
||||||
depth
|
depth
|
||||||
);
|
);
|
||||||
|
|
||||||
node.view = Some(pty_editor.pty_view(
|
node.view = Some(pty_editor.pty_view(("", "", "")));
|
||||||
("".into(), "".into(), "".into())
|
|
||||||
));
|
|
||||||
node.cmd = Some(Arc::new(RwLock::new(pty_editor)));
|
node.cmd = Some(Arc::new(RwLock::new(pty_editor)));
|
||||||
Some(node)
|
Some(node)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue