From 404d32e0d27627ca1976ec4261af63039f076365 Mon Sep 17 00:00:00 2001 From: djcb Date: Thu, 13 Sep 2012 22:57:31 +0300 Subject: [PATCH] * mu-cmd: support asking for password when decrypting --- mu/mu-cmd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mu/mu-cmd.c b/mu/mu-cmd.c index 02f935ca..2fef68f3 100644 --- a/mu/mu-cmd.c +++ b/mu/mu-cmd.c @@ -119,7 +119,8 @@ body_or_summary (MuMsg *msg, MuConfig *opts) color = !opts->nocolor; body = mu_msg_get_body_text (msg, - mu_config_get_msg_options(opts)); + mu_config_get_msg_options(opts) | + MU_MSG_OPTION_CONSOLE_PASSWORD); if (!body) { if (mu_msg_get_flags (msg) & MU_FLAG_ENCRYPTED) { color_maybe (MU_COLOR_CYAN);