From 976ea0282d373c4d08187a78a7b46a09d66f7918 Mon Sep 17 00:00:00 2001 From: nc Date: Wed, 5 Aug 2020 23:56:06 -0400 Subject: revert --- src/main.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 3ec964a..d96119e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -52,10 +52,6 @@ fn main() { } else { let mut s = termion().unwrap(); let app = App::load_state(); - - // prevent Ctrl-C from killing the app and allow the app to override it. - s.clear_global_callbacks(cursive::event::Event::CtrlChar('c')); - let layout = NamedView::new( "Frame", LinearLayout::vertical().child(NamedView::new("Main", app)), -- cgit v1.2.3