feat: add cli option and ctrl+u clears password
- Add `--hide-password` CLI flag - Show temporary "CLEARED" feedback on password clear
This commit is contained in:
@@ -174,6 +174,9 @@ impl LockedSurface {
|
||||
self.input_handler.set_key_highlight();
|
||||
self.key_highlight_shown = false;
|
||||
}
|
||||
InputAction::PasswordCleared => {
|
||||
self.renderer.show_cleared_feedback();
|
||||
}
|
||||
InputAction::SubmitPassword(_) => {
|
||||
self.input_handler.set_key_highlight();
|
||||
self.key_highlight_shown = false;
|
||||
|
||||
Reference in New Issue
Block a user