mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-23 20:36:21 +00:00
PGP: UI tweaks for passphrase request
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user