Kaydet (Commit) d03c342b authored tarafından Neil Schemenauer's avatar Neil Schemenauer

Flush stdout before reading next command. Closes SF bug 526357.

üst 3a204a7e
...@@ -94,6 +94,7 @@ class Cmd: ...@@ -94,6 +94,7 @@ class Cmd:
line = 'EOF' line = 'EOF'
else: else:
sys.stdout.write(self.prompt) sys.stdout.write(self.prompt)
sys.stdout.flush()
line = sys.stdin.readline() line = sys.stdin.readline()
if not len(line): if not len(line):
line = 'EOF' line = 'EOF'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment