Skip to content

Commit

Permalink
Merge pull request #37 from tmck-code/tweak-printing
Browse files Browse the repository at this point in the history
print shorter description
  • Loading branch information
tmck-code authored May 26, 2022
2 parents 507a55a + bf61317 commit 95ddedf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pokesay.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ func printPokemon(index int, name string, categoryKeys []string) {
d, _ := GOBCowData.ReadFile(pokedex.EntryFpath("build/assets/cows", index))

fmt.Printf(
"%s%s: %s | %s: %s\n",
"%s> %s | %s\n",
pokedex.Decompress(d),
"choice", textStyleBold.Sprint(name),
"categories", textStyleItalic.Sprint(strings.Join(categoryKeys, ", ")),
textStyleBold.Sprint(name),
textStyleItalic.Sprint(strings.Join(categoryKeys, "/")),
)
}

Expand Down

0 comments on commit 95ddedf

Please sign in to comment.