File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ func (widget *Widget) display() {
2020 title := fmt .Sprintf ("[green]%s[white]\n " , repoData .Repository )
2121 widget .View .SetTitle (fmt .Sprintf (" Git: %s " , title ))
2222
23- str := wtf .SygilStr (len (widget .Data ), widget .Idx , widget .View ) + "\n "
23+ str := wtf .SigilStr (len (widget .Data ), widget .Idx , widget .View ) + "\n "
2424 str = str + " [red]Branch[white]\n "
2525 str = str + fmt .Sprintf (" %s" , repoData .Branch )
2626 str = str + "\n "
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ func (widget *Widget) display() {
1717
1818 widget .View .SetTitle (fmt .Sprintf (" Github: %s " , widget .title (repo )))
1919
20- str := wtf .SygilStr (len (widget .Data ), widget .Idx , widget .View ) + "\n "
20+ str := wtf .SigilStr (len (widget .Data ), widget .Idx , widget .View ) + "\n "
2121 str = str + " [red]Open Review Requests[white]\n "
2222 str = str + widget .prsForReview (repo , Config .UString ("wtf.mods.github.username" ))
2323 str = str + "\n "
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ func (widget *Widget) display() {
2424
2525 widget .View .SetTitle (widget .title (cityData ))
2626
27- str := wtf .SygilStr (len (widget .Data ), widget .Idx , widget .View ) + "\n "
27+ str := wtf .SigilStr (len (widget .Data ), widget .Idx , widget .View ) + "\n "
2828 str = str + widget .description (cityData ) + "\n \n "
2929 str = str + widget .temperatures (cityData ) + "\n "
3030 str = str + widget .sunInfo (cityData )
Original file line number Diff line number Diff line change @@ -119,18 +119,18 @@ func RowColor(module string, idx int) string {
119119 }
120120}
121121
122- func SygilStr (len , pos int , view * tview.TextView ) string {
123- sygils := ""
122+ func SigilStr (len , pos int , view * tview.TextView ) string {
123+ sigils := ""
124124
125125 if len > 0 {
126- sygils = strings .Repeat (Config .UString ("wtf.paging.pageSygil " , "*" ), pos )
127- sygils = sygils + Config .UString ("wtf.paging.selectedSygil " , "_" )
128- sygils = sygils + strings .Repeat (Config .UString ("wtf.paging.pageSygil " , "*" ), len - 1 - pos )
126+ sigils = strings .Repeat (Config .UString ("wtf.paging.pagesigil " , "*" ), pos )
127+ sigils = sigils + Config .UString ("wtf.paging.selectedsigil " , "_" )
128+ sigils = sigils + strings .Repeat (Config .UString ("wtf.paging.pagesigil " , "*" ), len - 1 - pos )
129129
130- sygils = "[lightblue]" + fmt .Sprintf (RightAlignFormat (view ), sygils ) + "[white]"
130+ sigils = "[lightblue]" + fmt .Sprintf (RightAlignFormat (view ), sigils ) + "[white]"
131131 }
132132
133- return sygils
133+ return sigils
134134}
135135
136136/* -------------------- Slice Conversion -------------------- */
You can’t perform that action at this time.
0 commit comments