1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Make display whitespace consistent

This commit is contained in:
Matt Murphy 2020-05-25 00:37:03 -04:00
parent b6a666fe59
commit a0a85a5383
2 changed files with 19 additions and 19 deletions

View File

@ -33,9 +33,9 @@ func (widget *Widget) content() (string, string, bool) {
} }
_, _, width, _ := widget.View.GetRect() _, _, width, _ := widget.View.GetRect()
str := widget.settings.common.SigilStr(len(widget.GithubRepos), widget.Idx, width) + "\n" str := widget.settings.common.SigilStr(len(widget.GithubRepos), widget.Idx, width)
if widget.settings.showStats { if widget.settings.showStats {
str += fmt.Sprintf(" [%s]Stats[white]\n", widget.settings.common.Colors.Subheading) str += fmt.Sprintf("\n [%s]Stats[white]\n", widget.settings.common.Colors.Subheading)
str += widget.displayStats(repo) str += widget.displayStats(repo)
} }
if widget.settings.showOpenReviewRequests { if widget.settings.showOpenReviewRequests {