Remove access to cursive debug console.
It was useless anyway due to excessive logging from cursive.
This commit is contained in:
parent
bffa1b29b6
commit
be062c02b5
|
@ -2,7 +2,6 @@
|
|||
|
||||
use cursive::backend::termion::Backend;
|
||||
use cursive::Cursive;
|
||||
use cursive::event::Key;
|
||||
use cursive_buffered_backend::BufferedBackend;
|
||||
|
||||
mod api;
|
||||
|
@ -20,11 +19,6 @@ fn main() {
|
|||
Box::new(buffered)
|
||||
});
|
||||
|
||||
#[cfg(debug_assertions)]
|
||||
cursive::logger::init();
|
||||
#[cfg(debug_assertions)]
|
||||
siv.add_global_callback(Key::F1, |s| s.toggle_debug_console());
|
||||
|
||||
let mut email = None;
|
||||
if let Ok(data) = api::read_local_vault_data() {
|
||||
email = Some(data.profile.email.clone());
|
||||
|
|
Loading…
Reference in a new issue