aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authornc <[email protected]>2020-08-06 04:56:06 +0100
committernc <[email protected]>2020-08-06 04:56:06 +0100
commit976ea0282d373c4d08187a78a7b46a09d66f7918 (patch)
tree6d613a1b59ca277a82c8a688ec029774d10f31d5 /src/main.rs
parentee9be05579d87ca99f153d20995af3273385b564 (diff)
revert
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 0 insertions, 4 deletions
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() {
52 } else { 52 } else {
53 let mut s = termion().unwrap(); 53 let mut s = termion().unwrap();
54 let app = App::load_state(); 54 let app = App::load_state();
55
56 // prevent Ctrl-C from killing the app and allow the app to override it.
57 s.clear_global_callbacks(cursive::event::Event::CtrlChar('c'));
58
59 let layout = NamedView::new( 55 let layout = NamedView::new(
60 "Frame", 56 "Frame",
61 LinearLayout::vertical().child(NamedView::new("Main", app)), 57 LinearLayout::vertical().child(NamedView::new("Main", app)),