Skip to content

Commit

Permalink
fix: better color for image in ipsw dsc str cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
blacktop committed Jun 20, 2024
1 parent ed542f9 commit 115ca2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/ipsw/cmd/dyld/dyld_str.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ var StrSearchCmd = &cobra.Command{
out.WriteString(fmt.Sprintf("\t%s=%s", colorField("offset"), colorAddr("%#x", str.Offset)))
}
if str.Image != "" {
out.WriteString(fmt.Sprintf("\t%s=%s", colorField("image"), symImageColor(str.Image)))
out.WriteString(fmt.Sprintf("\t%s=%s", colorField("image"), colorImage(str.Image)))
} else {
if str.Mapping != "" {
out.WriteString(fmt.Sprintf("\t%s=%s", colorField("mapping"), symLibColor(str.Mapping)))
Expand Down

0 comments on commit 115ca2a

Please sign in to comment.