summaryrefslogtreecommitdiffstats
path: root/src/bindings.rs
diff options
context:
space:
mode:
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),
+ // }
])
}