mirror of
https://github.com/Jguer/yay
synced 2024-10-06 08:09:11 +00:00
remove percent from popularity
This commit is contained in:
parent
f9fb40a27a
commit
321834de4c
2
print.go
2
print.go
|
@ -85,7 +85,7 @@ func (q aurQuery) printSearch(start int) {
|
|||
toprint += bold(colorHash("aur")) + "/" + bold(q[i].Name) +
|
||||
" " + cyan(q[i].Version) +
|
||||
bold(" (+"+strconv.Itoa(q[i].NumVotes)) +
|
||||
" " + bold(strconv.FormatFloat(q[i].Popularity, 'f', 2, 64)+"%) ")
|
||||
" " + bold(strconv.FormatFloat(q[i].Popularity, 'f', 2, 64)+") ")
|
||||
|
||||
if q[i].Maintainer == "" {
|
||||
toprint += bold(red(gotext.Get("(Orphaned)"))) + " "
|
||||
|
|
Loading…
Reference in a new issue