From 19de1653985520258bd081e32275c48e2ac98f5b Mon Sep 17 00:00:00 2001 From: nc Date: Mon, 20 Jul 2020 18:44:31 -0400 Subject: remove debug code, add cargo.lock --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main.rs b/src/main.rs index ca1b653..d733f97 100644 --- a/src/main.rs +++ b/src/main.rs @@ -53,7 +53,6 @@ fn main() { let app = App::load_state(); let m = app.message.clone(); unsafe { signal_hook::register(signal_hook::SIGINT, move || { - std::fs::File::create("killed").unwrap(); m.write().unwrap().set_message("Use the :q command to quit"); }) }.unwrap(); @@ -67,6 +66,7 @@ fn main() { s.add_global_callback(':', |s| open_command_window(s)); s.set_theme(theme::theme_gen()); + s.run(); } } -- cgit v1.2.3