cli icon indicating copy to clipboard operation
cli copied to clipboard

Moving an octocli command to the background clears the active line

Open voronoipotato opened this issue 7 months ago • 2 comments

The bug

When I run octopus task wait it consistently prints out and clears the line. This is not what I would expect with --no-prompt. It should run, output new information as it gets it, and return 0 when completed.

Command to reproduce

octopus task wait $taskId --no-prompt -f basic -s $OCTOPUS_SPACE &
# outputs, then repeatedly clears the active line

Outcome

The terminal becomes unusable with this task backgrounded due to the manual clearing. It should not ever clear if --no-prompt is selected as I'm explicitly not seeking an interactive experience, I just want the output and the command to end when there is a result.

Versions

cli: latest

Octopus Server: all

voronoipotato avatar Nov 06 '23 22:11 voronoipotato