aports/community/sword/00-fflush.patch
2015-11-30 13:42:18 +00:00

13 lines
455 B
Diff

diff --git a/utilities/installmgr.cpp b/utilities/installmgr.cpp
index b705c25..132314a 100644
--- a/utilities/installmgr.cpp
+++ b/utilities/installmgr.cpp
@@ -73,6 +73,7 @@ virtual bool isUserDisclaimerConfirmed() const {
cout << "If you understand this and are willing to enable remote source features\n";
cout << "then type yes at the prompt\n\n";
cout << "enable? [no] ";
+ fflush(stdout);
char prompt[10];
fgets(prompt, 9, stdin);