Flush stdout after character echo in readline
This commit is contained in:
parent
2ce82e7d87
commit
5ffbe660fb
1 changed files with 1 additions and 0 deletions
|
|
@ -374,6 +374,7 @@ def _read_line(original_text=None, terminating_characters=None):
|
|||
char_to_print = char
|
||||
|
||||
sys.stdout.write(char_to_print)
|
||||
sys.stdout.flush()
|
||||
return string
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue