Skip to content

Commit

Permalink
print new line if console prompt is answered from elsewhere (google#922)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesMTSloan authored Feb 18, 2020
1 parent 588ef58 commit 1bd801e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openhtf/plugs/user_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ def Stop(self):
"""Mark this ConsolePrompt as stopped."""
self._stop_event.set()
if not self._answered:
console_output.cli_print(os.linesep, color=self._color,
end='', logger=None)
_LOG.debug('Stopping ConsolePrompt--prompt was answered from elsewhere.')

def run(self):
Expand Down

0 comments on commit 1bd801e

Please sign in to comment.