##// END OF EJS Templates
py3: decode prompt string before calling rawinput...
Denis Laxalde -
r43388:57efd5bd default
parent child Browse files
Show More
@@ -1555,6 +1555,7 b' class ui(object):'
1555 1555 # - http://bugs.python.org/issue12833
1556 1556 with self.timeblockedsection(b'stdio'):
1557 1557 if usereadline:
1558 prompt = encoding.strfromlocal(prompt)
1558 1559 line = encoding.strtolocal(pycompat.rawinput(prompt))
1559 1560 # When stdin is in binary mode on Windows, it can cause
1560 1561 # raw_input() to emit an extra trailing carriage return
General Comments 0
You need to be logged in to leave comments. Login now