1
0
mirror of https://github.com/mnaberez/py65.git synced 2024-06-06 20:29:34 +00:00

Flush the stream after writing a char

This commit is contained in:
Mike Naberezny 2013-10-26 17:41:06 -07:00
parent 7034d8f595
commit 3fe9420b82

View File

@ -93,4 +93,5 @@ def line_input(prompt='', stdin=sys.stdin, stdout=sys.stdout):
else:
line += char
stdout.write(char)
stdout.flush()
return line