aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authornc <[email protected]>2020-07-20 23:44:31 +0100
committernc <[email protected]>2020-07-20 23:44:31 +0100
commit19de1653985520258bd081e32275c48e2ac98f5b (patch)
treee42a3db1cd253d5a09091770ec27dba0aa9895f2 /src/main.rs
parent66b2f0793f236dccd3269ae1c3cbfe2293f7fb3d (diff)
remove debug code, add cargo.lock
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
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() {
53 let app = App::load_state(); 53 let app = App::load_state();
54 let m = app.message.clone(); 54 let m = app.message.clone();
55 unsafe { signal_hook::register(signal_hook::SIGINT, move || { 55 unsafe { signal_hook::register(signal_hook::SIGINT, move || {
56 std::fs::File::create("killed").unwrap();
57 m.write().unwrap().set_message("Use the :q command to quit"); 56 m.write().unwrap().set_message("Use the :q command to quit");
58 }) }.unwrap(); 57 }) }.unwrap();
59 58
@@ -67,6 +66,7 @@ fn main() {
67 s.add_global_callback(':', |s| open_command_window(s)); 66 s.add_global_callback(':', |s| open_command_window(s));
68 67
69 s.set_theme(theme::theme_gen()); 68 s.set_theme(theme::theme_gen());
69
70 s.run(); 70 s.run();
71 } 71 }
72} 72}