]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Flush prompt before input
authornorve <norve@gmx.com>
Fri, 18 Feb 2022 19:47:45 +0000 (19:47 +0000)
committernorve <norve@gmx.com>
Fri, 18 Feb 2022 19:47:45 +0000 (19:47 +0000)
pdns/pdnsutil.cc

index 37660105fff94e89fb563733ea3a40d5d6a38744..e846fd607a35f562387bf84cbe12934fe94b90a4 100644 (file)
@@ -1317,7 +1317,7 @@ static int editZone(const DNSName &zone) {
     cout<<endl<<"No changes to apply."<<endl;
     return(EXIT_SUCCESS);
   }
-  cout<<endl<<"(a)pply these changes, (e)dit again, (r)etry with original zone, (q)uit: ";
+  cout<<endl<<"(a)pply these changes, (e)dit again, (r)etry with original zone, (q)uit: "<<std::flush;
   int c=read1char();
   post.clear();
   cerr<<'\n';