Skip to content

Make it possible to exclude linebreaks before and after Progress bars. #1726

Open
@Baune8D

Description

@Baune8D

Is your feature request related to a problem? Please describe.
When using Progress, Spectre enforces a linebreak before and after the progress bar. This gets quite annoying if we use 2 separate progress bars after each other since that will include 2 empty linebreaks between the progress bars.

I do not know if there is a technical requirement for forcing these linebreaks. But i would much prefer to just add a linebreak if neccessary myself.

Describe the solution you'd like
Some kind option for disabling forced linebreaks around progress bars.

Describe alternatives you've considered
If we need two separate progress bars after eachother, i have resolved to using AnsiConsole.Cursor.Move(CursorDirection.Up, 1) after the first progress bar in order to remove the duplicate linebreak.

Additional context
image


Please upvote 👍 this issue if you are interested in it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      Todo 🕑

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions