Remove access to cursive debug console.

It was useless anyway due to excessive logging from cursive.
This commit is contained in:
Christoph Heiss 2019-12-26 20:07:15 +01:00
parent bffa1b29b6
commit be062c02b5
Signed by: c8h4
GPG key ID: 73D5E7FDEE3DE49A

View file

@ -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());