Skip to content

fix(spinner): remove extra newline on start - #732

Merged
MarvinJWendt merged 1 commit into
pterm:masterfrom
lavocatt:fix-double-print
Oct 1, 2025
Merged

MarvinJWendt merged 1 commit into
pterm:masterfrom
lavocatt:fix-double-print

Conversation

@lavocatt

@lavocatt lavocatt commented Jul 23, 2025 •

Copy link
Copy Markdown
Contributor

The spinner was printing an extra newline character upon starting, which caused layout issues in the terminal. The root cause is an unconditional Fprintln call in the Start method.

This removes the extra Fprintln to resolve the issue.

Fixes #731

The spinner was printing an extra newline character upon starting, which
caused layout issues in the terminal. The root cause is an
unconditional `Fprintln` call in the `Start` method.

This removes the extra `Fprintln` to resolve the issue.

Closes pterm#731
@lavocatt
lavocatt requested a review from MarvinJWendt as a code owner July 23, 2025 09:02
@github-actions github-actions Bot added fix and removed fix labels Jul 23, 2025

@MarvinJWendt MarvinJWendt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay! LGTM!

Fixes #736

@MarvinJWendt
MarvinJWendt merged commit 24cb664 into pterm:master Oct 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unwanted newline with spinner

2 participants