diff --git a/pkg/cmd/issue/view/view.go b/pkg/cmd/issue/view/view.go index 87c8e3143..d4f96bbd8 100644 --- a/pkg/cmd/issue/view/view.go +++ b/pkg/cmd/issue/view/view.go @@ -173,7 +173,7 @@ func printHumanIssuePreview(opts *ViewOptions, issue *api.Issue) error { cs := opts.IO.ColorScheme() // Header (Title and State) - fmt.Fprintf(out, "%s #%d", cs.Bold(issue.Title), issue.Number) + fmt.Fprintf(out, "%s #%d\n", cs.Bold(issue.Title), issue.Number) fmt.Fprintf(out, "%s • %s opened %s • %s\n", issueStateTitleWithColor(cs, issue.State), diff --git a/pkg/cmd/pr/view/view.go b/pkg/cmd/pr/view/view.go index a37568741..c733909c5 100644 --- a/pkg/cmd/pr/view/view.go +++ b/pkg/cmd/pr/view/view.go @@ -170,7 +170,7 @@ func printHumanPrPreview(opts *ViewOptions, pr *api.PullRequest) error { cs := opts.IO.ColorScheme() // Header (Title and State) - fmt.Fprintf(out, "%s #%d", cs.Bold(pr.Title), pr.Number) + fmt.Fprintf(out, "%s #%d\n", cs.Bold(pr.Title), pr.Number) fmt.Fprintf(out, "%s • %s wants to merge %s into %s from %s • %s %s \n", shared.StateTitleWithColor(cs, *pr),