AuthActivity: enter setup with <CTRL+C>

This commit is contained in:
ChristianVisintin
2020-12-24 18:27:38 +01:00
parent 6bf503331e
commit 39e8d1f704
3 changed files with 24 additions and 0 deletions

View File

@@ -109,6 +109,7 @@ pub struct AuthActivity {
pub password: String,
pub submit: bool, // becomes true after user has submitted fields
pub quit: bool, // Becomes true if user has pressed esc
pub setup: bool, // Becomes true if user has requested setup
context: Option<Context>,
bookmarks_client: Option<BookmarksClient>,
selected_field: InputField, // Selected field in AuthCredentials Form
@@ -141,6 +142,7 @@ impl AuthActivity {
password: String::new(),
submit: false,
quit: false,
setup: false,
context: None,
bookmarks_client: None,
selected_field: InputField::Address,