Skip to content

Commit

Permalink
removed unused flag
Browse files Browse the repository at this point in the history
  • Loading branch information
joetannenbaum committed Sep 23, 2023
1 parent d3aa7e9 commit fe5e08b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/Spinner.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,6 @@ class Spinner extends Prompt
*/
public int $count = 0;

/**
* Whether the spinner has streamed output.
*/
public bool $hasStreamingOutput = false;

/**
* Whether the spinner can only be rendered once.
*/
Expand Down Expand Up @@ -108,8 +103,6 @@ protected function renderStreamedOutput(): void
$output = $this->sockets->streamingOutput();

if ($output !== '') {
$this->hasStreamingOutput = true;

$lines = count(explode(PHP_EOL, $this->prevFrame)) - 1;

$this->moveCursor(-999, $lines * -1);
Expand Down

0 comments on commit fe5e08b

Please sign in to comment.