diff options
Diffstat (limited to 'CPP/7zip/UI/Console/UserInputUtils.cpp')
-rwxr-xr-x | CPP/7zip/UI/Console/UserInputUtils.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CPP/7zip/UI/Console/UserInputUtils.cpp b/CPP/7zip/UI/Console/UserInputUtils.cpp index 30ed5f99..75468009 100755 --- a/CPP/7zip/UI/Console/UserInputUtils.cpp +++ b/CPP/7zip/UI/Console/UserInputUtils.cpp @@ -78,6 +78,8 @@ UString GetPassword(CStdOutStream *outStream) UString res = g_StdIn.ScanUStringUntilNewLine(); if (wasChanged) SetConsoleMode(console, mode); + (*outStream) << "\n"; + outStream->Flush(); return res; #else return g_StdIn.ScanUStringUntilNewLine(); |