diff options
Diffstat (limited to 'src/passphrase.c')
-rw-r--r-- | src/passphrase.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/passphrase.c b/src/passphrase.c index cd88c7f..4b6af86 100644 --- a/src/passphrase.c +++ b/src/passphrase.c @@ -72,6 +72,8 @@ char* get_passphrase(void) */ void disable_echo() { + struct termios stty; + tcgetattr(STDIN_FILENO, &saved_stty); stty = saved_stty; stty.c_lflag &= ~ECHO; |