diff options
Diffstat (limited to 'main/sword/00-fflush.patch')
-rw-r--r-- | main/sword/00-fflush.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/main/sword/00-fflush.patch b/main/sword/00-fflush.patch new file mode 100644 index 0000000000..79f0649f65 --- /dev/null +++ b/main/sword/00-fflush.patch @@ -0,0 +1,12 @@ +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); |