mirror of
https://github.com/mnaberez/py65.git
synced 2025-01-02 03:29:26 +00:00
Flush the stream after writing a char
This commit is contained in:
parent
7034d8f595
commit
3fe9420b82
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user