diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2016-04-19 09:51:09 +0100 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2016-04-19 09:51:09 +0100 |
| commit | 199ccb4021b9f740d9959e532e515775a00c90e9 (patch) | |
| tree | 526a5803938168b2d7b42effc8f1ae80a034eaa0 /src/input_handler.hh | |
| parent | 2435949faeb9bc77ca6ff3b5ec64430df7116602 (diff) | |
Add a -password switch to :prompt to allow for more secure password entering
Fixes #660
Diffstat (limited to 'src/input_handler.hh')
| -rw-r--r-- | src/input_handler.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input_handler.hh b/src/input_handler.hh index 77153c2d..35603053 100644 --- a/src/input_handler.hh +++ b/src/input_handler.hh @@ -53,8 +53,8 @@ public: // returns to normal mode after validation if callback does // not change the mode itself void prompt(StringView prompt, String initstr, - Face prompt_face, Completer completer, - PromptCallback callback); + Face prompt_face, bool password, + Completer completer, PromptCallback callback); void set_prompt_face(Face prompt_face); // enter menu mode, callback is called on each selection change, |
