Show More
@@ -1555,6 +1555,7 b' class ui(object):' | |||||
1555 | # - http://bugs.python.org/issue12833 |
|
1555 | # - http://bugs.python.org/issue12833 | |
1556 | with self.timeblockedsection(b'stdio'): |
|
1556 | with self.timeblockedsection(b'stdio'): | |
1557 | if usereadline: |
|
1557 | if usereadline: | |
|
1558 | prompt = encoding.strfromlocal(prompt) | |||
1558 | line = encoding.strtolocal(pycompat.rawinput(prompt)) |
|
1559 | line = encoding.strtolocal(pycompat.rawinput(prompt)) | |
1559 | # When stdin is in binary mode on Windows, it can cause |
|
1560 | # When stdin is in binary mode on Windows, it can cause | |
1560 | # raw_input() to emit an extra trailing carriage return |
|
1561 | # raw_input() to emit an extra trailing carriage return |
General Comments 0
You need to be logged in to leave comments.
Login now