1
0
Fork 0

Improve E-Mail prompt

This commit is contained in:
Malte Brandy 2018-07-20 01:15:41 +02:00
parent 16fd8c3c66
commit e3545091b6
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9

View file

@ -156,7 +156,11 @@ fn sort_mail(
((*name).to_owned(), Options::MoveTo((*mailbox).to_owned()))
});
let options = options.into_iter().chain(option_dirs);
let msg = format!("Handling E-mail:\n{}", print_headers(&mut mail)?);
let msg = format!(
"Handling mail from box {}:\n{}",
mailbox.mailbox,
print_headers(&mut mail)?
);
let choice = dialog.select_option(msg, options)?;
match choice {
Options::Ignore => {