Skip to content

Progress bar is adding extra blank line after, unlike other fields. #195

@mikebronner

Description

@mikebronner

Laravel Prompts Version

0.3.5

Laravel Version

12.19.3

PHP Version

8.4.8

Operating System & Version

macOS 26

Terminal Application

Apple Terminal

Description

Image

As you can see in the screenshot, the space between the select and the progress bar is no empty lines.
However, between each progress bar there is an empty line, leading to inconsistent spacing.

Steps To Reproduce

Simple example:

 protected function parseFootnotesFor(Version $version): void { $verses = Verse::with("chapter.book") ->whereRelation("chapter.book", "version_id", $version->getKey()) ->where("text", "ILIKE", "%<footnote %") ->get(); $progressBar = progress(label: "Parsing Footnotes", steps: $verses->count()); $verses->each(function (Verse $verse) use ($progressBar): void { (new ParseFootnotesFrom)($verse); $progressBar->advance(); }); $progressBar->finish(); } 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions