mirror of
https://github.com/mnaberez/py65.git
synced 2025-08-09 04:24:59 +00:00
Flush the stream after writing a char
This commit is contained in:
@@ -93,4 +93,5 @@ def line_input(prompt='', stdin=sys.stdin, stdout=sys.stdout):
|
|||||||
else:
|
else:
|
||||||
line += char
|
line += char
|
||||||
stdout.write(char)
|
stdout.write(char)
|
||||||
|
stdout.flush()
|
||||||
return line
|
return line
|
||||||
|
Reference in New Issue
Block a user