From 115ca2a3eedb0cc4bb107b22bafc047ebc8604cd Mon Sep 17 00:00:00 2001 From: blacktop Date: Thu, 20 Jun 2024 11:55:17 -0600 Subject: [PATCH] fix: better color for image in `ipsw dsc str` cmd --- cmd/ipsw/cmd/dyld/dyld_str.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/ipsw/cmd/dyld/dyld_str.go b/cmd/ipsw/cmd/dyld/dyld_str.go index 58c9c34e7..ea78b9809 100644 --- a/cmd/ipsw/cmd/dyld/dyld_str.go +++ b/cmd/ipsw/cmd/dyld/dyld_str.go @@ -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)))