##// 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 # - http://bugs.python.org/issue12833
1564 # - http://bugs.python.org/issue12833
1565 with self.timeblockedsection(b'stdio'):
1565 with self.timeblockedsection(b'stdio'):
1566 if usereadline:
1566 if usereadline:
1567 self.flush()
1567 prompt = encoding.strfromlocal(prompt)
1568 prompt = encoding.strfromlocal(prompt)
1568 line = encoding.strtolocal(pycompat.rawinput(prompt))
1569 line = encoding.strtolocal(pycompat.rawinput(prompt))
1569 # When stdin is in binary mode on Windows, it can cause
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