Skip to content

Commit

Permalink
kpkg: search: fix spacing on other repos
Browse files Browse the repository at this point in the history
  • Loading branch information
kreatoo committed Oct 6, 2023
1 parent 14bb266 commit ffd0aee
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kpkg/commands/searchcmd.nim
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ proc printResult(repo: string, package: string): string =

r = r&repo&"/"&package&"-"&pkgrunf.versionString

for i in 1 .. 40 - (package.len + 1 + pkgrunf.versionString.len):

for i in 1 .. 40 - (package.len + 1 + repo.len + pkgrunf.versionString.len):
r = r&" "

if isEmptyOrWhitespace(pkgrunf.desc):
Expand Down

0 comments on commit ffd0aee

Please sign in to comment.