A simple CPU rendered GUI IDE experience.
Diffstat (limited to 'src/edi.rs')
-rw-r--r--src/edi.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/edi.rs b/src/edi.rs
index a84d8d8..54f6827 100644
--- a/src/edi.rs
+++ b/src/edi.rs
@@ -235,6 +235,7 @@ impl Editor {
// .stderr(Stdio::inherit())
// .spawn()
// .unwrap();
+ let w = workspace.clone();
let (a, b) = Connection::memory();
std::thread::Builder::new()
.name("Rust Analyzer".into())
@@ -244,6 +245,7 @@ impl Editor {
std::panic::set_hook(Box::new(move |info| {
// iz
if std::thread::current_id() == main {
+ println!("{:x}", hash(&w));
dh(info);
} else if std::thread::current_id() == ra
|| std::thread::current()