diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
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 | } |