Skip to content

Commit ac3155a

Browse files
committed
Fixed: MUSL issue where stdout is not flushed before reading from stdin
1 parent 0ed70af commit ac3155a

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Example/example.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ int main()
2828
}
2929

3030
std::cout << "\nPress any key to continue...";
31+
std::cout.flush();
3132
getchar();
3233

3334
return resultCode;

External/LLUtils

0 commit comments

Comments
 (0)