mirror of
https://github.com/PowerShell/Win32-OpenSSH.git
synced 2025-07-22 05:24:43 +02:00
sftp.exe/ssh.exe - write new line after a password is read in non-echo mode
ssh.exe when invoked from sftp.exe and scp.exe external progam needs to show a newline after data read after a prompt for next data to look proper
This commit is contained in:
parent
6d167ae0f6
commit
720b3620fa
@ -368,6 +368,7 @@ read_passphrase(const char *prompt, int flags)
|
||||
}
|
||||
|
||||
buf[len] = '\0' ; // get rid of the cr/lf
|
||||
_write(PassErrorFd,"\n", strlen("\n")); // show a newline as we do not echo password or the line
|
||||
|
||||
ret = xstrdup(buf);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user