Skip to content

Commit

Permalink
Fix bug on restore shell prompt after command auto-completion
Browse files Browse the repository at this point in the history
- By flushing fout
  • Loading branch information
shinae-woo committed Jul 15, 2018
1 parent 83e7c60 commit d04f5f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bessctl/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ def _do_complete(self, line, partial_word):
self.fout.write('\n')
self.fout.write(''.join(buf))
self.fout.write('%s%s' % (self.get_prompt(), line))
self.fout.flush()

return []

Expand Down

0 comments on commit d04f5f9

Please sign in to comment.