mirror of
https://github.com/Jguer/yay
synced 2024-10-31 13:42:27 +00:00
Add left padding to number menu
Signed-off-by: Jguer <me@jguer.space>
This commit is contained in:
parent
30c9862880
commit
e86e39a21d
1 changed files with 5 additions and 4 deletions
|
@ -261,7 +261,8 @@ func cleanEditNumberMenu(pkgs []*rpc.Pkg, bases map[string][]*rpc.Pkg, installed
|
|||
for n, pkg := range pkgs {
|
||||
dir := config.BuildDir + pkg.PackageBase + "/"
|
||||
|
||||
toPrint += magenta(strconv.Itoa(len(pkgs)-n)) + " " + bold(formatPkgbase(pkg, bases))
|
||||
toPrint += fmt.Sprintf("%s %-40s", magenta(strconv.Itoa(len(pkgs)-n)),
|
||||
bold(formatPkgbase(pkg, bases)))
|
||||
if installed.get(pkg.Name) {
|
||||
toPrint += bold(green(" (Installed)"))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue