summaryrefslogtreecommitdiffstats
path: root/src/bindings.rs
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2021-01-23 18:04:59 +0100
committerMatthias Beyer <mail@beyermatthias.de>2021-01-30 13:01:33 +0100
commit99446027a16ae77ac22745767637ac28ba659bde (patch)
tree953304d91a5e709435f89820003094bd6588c6ff /src/bindings.rs
parent9008d4bd4643a9e32db9172b2c3b93b0a19a34ce (diff)
Complete restructuring
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src/bindings.rs')
-rw-r--r--src/bindings.rs16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/bindings.rs b/src/bindings.rs
index 0e42cf2..e21243f 100644
--- a/src/bindings.rs
+++ b/src/bindings.rs
@@ -1,19 +1,11 @@
-use anyhow::Result;
use cursive::Cursive;
use cursive::Printer;
-use cursive::Rect;
use cursive::View;
use cursive::XY;
-use cursive::direction::Direction;
use cursive::event::Callback;
use cursive::event::Event;
use cursive::event::EventResult;
use cursive::event::Key;
-use cursive::view::Nameable;
-use cursive::view::Selector;
-use cursive::view::SizeConstraint;
-use cursive::views::NamedView;
-use cursive::views::ResizedView;
use crate::views::main::MainView;
@@ -48,10 +40,10 @@ pub fn get_bindings() -> Bindings {
})
},
- Binding {
- chars: ["open", "o"].iter().map(ToString::to_string).collect(),
- callback: Callback::from_fn(MainView::add_notmuch_query_layer),
- }
+ // Binding {
+ // chars: ["open", "o"].iter().map(ToString::to_string).collect(),
+ // callback: Callback::from_fn(MainView::add_notmuch_query_layer),
+ // }
])
}