##// END OF EJS Templates
ui: flush before prompting for input with readline...
Gregory Szorc -
r43694:aaa04691 stable
parent child Browse files
Show More
@@ -1564,6 +1564,7 b' class ui(object):'
1564 1564 # - http://bugs.python.org/issue12833
1565 1565 with self.timeblockedsection(b'stdio'):
1566 1566 if usereadline:
1567 self.flush()
1567 1568 prompt = encoding.strfromlocal(prompt)
1568 1569 line = encoding.strtolocal(pycompat.rawinput(prompt))
1569 1570 # When stdin is in binary mode on Windows, it can cause
General Comments 0
You need to be logged in to leave comments. Login now