Last commit for ncurses

embed
Manos Pitsidianakis 2018-07-10 11:18:11 +03:00
parent ac8e334ae9
commit cbd56b470e
Signed by: Manos Pitsidianakis
GPG Key ID: 73627C2F690DF710
5 changed files with 10 additions and 5 deletions

8
README
View File

@ -8,3 +8,11 @@
\__/
terminal mail user agent
/ /
/_/ |
/ \/
\__/|
/ \|
\__/|
||

View File

@ -32,8 +32,7 @@ use std::sync::mpsc::{sync_channel, Receiver, SyncSender};
use std::thread;
fn main() {
let locale_conf = ncurses::LcCategory::all;
ncurses::setlocale(locale_conf, "en_US.UTF-8");
ncurses::setlocale(ncurses::LcCategory::all, "en_US.UTF-8");
let set = Settings::new();
let ui = ui::TUI::initialize();
let backends = Backends::new();

View File

@ -31,6 +31,7 @@ use self::fnv::FnvHashMap;
use std;
/// A hashmap containing all available mail backends.
/// An abstraction over any available backends.
pub struct Backends {
map: FnvHashMap<std::string::String, Box<Fn() -> Box<MailBackend>>>,
}

View File

@ -21,7 +21,6 @@
use mailbox::email::parser;
use std::fmt::{Display, Formatter, Result};
use std::ascii::AsciiExt;
/*
*

View File

@ -30,8 +30,6 @@ use std::sync::Arc;
use std::cmp::Ordering;
use std::fmt;
use std::option::Option;
//use std::io::prelude::*;
use std::ascii::AsciiExt;
use chrono;
use chrono::TimeZone;