Skip to content

fix: remove spurious blank lines from status output#848

Merged
paxos merged 1 commit intomainfrom
paxos/status-blank-lines
Apr 3, 2026
Merged

fix: remove spurious blank lines from status output#848
paxos merged 1 commit intomainfrom
paxos/status-blank-lines

Conversation

@paxos
Copy link
Copy Markdown
Contributor

@paxos paxos commented Apr 3, 2026

Summary

  • entire status (both short and --detailed modes) printed two blank lines before the actual status line, making the output look unnecessarily padded
  • Removed the extra fmt.Fprintln(w) calls from both code paths

Test plan

  • All status tests pass (go test ./cmd/entire/cli/ -run Status)
  • Lint passes

🤖 Generated with Claude Code


Note

Low Risk
Low risk: output formatting-only change in the status command; no settings/session logic is modified.

Overview
Removes the two leading blank lines previously printed before the first status line in entire status.

This applies to both the default (short) output and --detailed mode, so status output starts immediately with the effective settings summary.

Written by Cursor Bugbot for commit c7a7b2c. Configure here.

Both the short and detailed status paths printed two empty lines
before the actual status line, making the output look padded.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Entire-Checkpoint: 4123b5a6edb5
@paxos paxos requested a review from a team as a code owner April 3, 2026 16:49
Copilot AI review requested due to automatic review settings April 3, 2026 16:49
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR tidies the entire status command output by removing two unintended leading blank lines that were printed before the first status line in both short and --detailed modes.

Changes:

  • Removed two fmt.Fprintln(w) calls that produced extra leading blank lines in short status output.
  • Removed the same extra blank lines from the detailed status path, keeping the single intentional separator blank line after the effective status line.

@paxos paxos merged commit 980d873 into main Apr 3, 2026
8 checks passed
@paxos paxos deleted the paxos/status-blank-lines branch April 3, 2026 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants