Commit 4f804bf9 authored by Just van Rossum's avatar Just van Rossum

Modified version of patch #496882: echo SimpleStdin readline()

input to stdout.
parent 4d9c0018
......@@ -354,7 +354,9 @@ class SimpleStdin:
rv = EasyDialogs.AskString(prompt)
if rv is None:
return ""
return rv + '\n'
rv = rv + "\n" # readline should include line terminator
sys.stdout.write(rv) # echo user's reply
return rv
def installconsole(defaultshow = 1):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment