mirror of https://github.com/python/cpython
Modified version of patch #496882: echo SimpleStdin readline()
input to stdout.
This commit is contained in:
parent
7c9a53dfc0
commit
226275f780
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue