mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-27 13:33:29 +01:00
Linux: Flush stdout explicitly when reading stdin (#1172)
Rules of automatic flushing of stdout buffer is implementation-defined behaviour. In glibc this is automatically flushed, but we can't rely on it for other implementations such as musl.
This commit is contained in:
parent
5c9e135c9e
commit
eb2f5f33c9
@ -1047,7 +1047,7 @@ namespace VeraCrypt
|
||||
|
||||
void TextUserInterface::DoShowString (const wxString &str) const
|
||||
{
|
||||
wcout << str.c_str();
|
||||
wcout << str.c_str() << flush;
|
||||
}
|
||||
|
||||
void TextUserInterface::DoShowWarning (const wxString &message) const
|
||||
|
Loading…
Reference in New Issue
Block a user