From fe5e08b7e0694790fe879fc0332c9b3b999a3e44 Mon Sep 17 00:00:00 2001 From: Joe Tannenbaum Date: Sat, 23 Sep 2023 13:13:17 -0400 Subject: [PATCH] removed unused flag --- src/Spinner.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/Spinner.php b/src/Spinner.php index 8efb77a1..d41ccbfe 100644 --- a/src/Spinner.php +++ b/src/Spinner.php @@ -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. */ @@ -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);