about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/core.c4
-rw-r--r--src/ui/inputwin.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ui/core.c b/src/ui/core.c
index 91c0f342..5735f462 100644
--- a/src/ui/core.c
+++ b/src/ui/core.c
@@ -2111,6 +2111,8 @@ ui_ask_pgp_passphrase(const char *hint, int prev_fail)
 {
     ProfWin *current = wins_get_current();
 
+    win_println(current, 0, "");
+
     if (prev_fail) {
         win_print(current, '!', 0, NULL, 0, 0, "", "Incorrect passphrase");
     }
@@ -2121,6 +2123,8 @@ ui_ask_pgp_passphrase(const char *hint, int prev_fail)
         win_print(current, '!', 0, NULL, 0, 0, "", "Enter PGP key passphrase");
     }
 
+    ui_update();
+
     status_bar_get_password();
     status_bar_update_virtual();
     return inp_get_password();
diff --git a/src/ui/inputwin.c b/src/ui/inputwin.c
index cb4d7a7e..9b4eddfb 100644
--- a/src/ui/inputwin.c
+++ b/src/ui/inputwin.c
@@ -230,7 +230,6 @@ inp_get_password(void)
 {
     werase(inp_win);
     wmove(inp_win, 0, 0);
-    pad_start = 0;
     _inp_win_update_virtual();
     doupdate();
     char *password = NULL;