@@ -194,11 +194,11 @@ func configureUI() {
194194
195195 switch {
196196 case fmtc .IsTrueColorSupported ():
197- colorTagApp , colorTagVer = "{*}{#875FFF }" , "{#875FFF }"
197+ colorTagApp , colorTagVer = "{*}{#00AFFF }" , "{#00AFFF }"
198198 case fmtc .Is256ColorsSupported ():
199- colorTagApp , colorTagVer = "{*}{#99 }" , "{#99 }"
199+ colorTagApp , colorTagVer = "{*}{#39 }" , "{#39 }"
200200 default :
201- colorTagApp , colorTagVer = "{*}{b }" , "{b }"
201+ colorTagApp , colorTagVer = "{*}{c }" , "{c }"
202202 }
203203}
204204
@@ -229,7 +229,7 @@ func process(args options.Arguments) (error, bool) {
229229
230230 if err != nil {
231231 if ! options .GetB (OPT_FORMAT ) {
232- return err , false
232+ return fmt . Errorf ( "Error while sending scan request to SSL Labs API: %v" , err ) , false
233233 }
234234
235235 return nil , false
@@ -305,25 +305,25 @@ func check(host string) (string, bool) {
305305 IgnoreMismatch : options .GetB (OPT_IGNORE_MISMATCH ),
306306 }
307307
308- fmtc .TPrintf ("{*}%s{!} → {s}Preparing for tests…{!}" , host )
308+ fmtc .TPrintf ("{*}%s{!} {s-}→{!} {s}Preparing for tests…{!}" , host )
309309
310310 ap , err := api .Analyze (host , params )
311311
312312 if err != nil {
313- fmtc .TPrintf ("{*}%s{!} → {r}%v{!}\n " , host , err )
313+ fmtc .TPrintf ("{*}%s{!} {s-}→{!} {r}%v{!}\n " , host , err )
314314 return "T" , false
315315 }
316316
317317 for {
318318 info , err = ap .Info (false , params .FromCache )
319319
320320 if err != nil {
321- fmtc .TPrintf ("{*}%s{!} → {r}%v{!}\n " , host , err )
321+ fmtc .TPrintf ("{*}%s{!} {s-}→{!} {r}%v{!}\n " , host , err )
322322 return "Err" , false
323323 }
324324
325325 if info .Status == sslscan .STATUS_ERROR {
326- fmtc .TPrintf ("{*}%s{!} → {r}%s{!}\n " , host , info .StatusMessage )
326+ fmtc .TPrintf ("{*}%s{!} {s-}→{!} {r}%s{!}\n " , host , info .StatusMessage )
327327 return "Err" , false
328328 } else if info .Status == sslscan .STATUS_READY {
329329 break
@@ -333,7 +333,7 @@ func check(host string) (string, bool) {
333333 message := getStatusInProgress (info .Endpoints )
334334
335335 if message != "" {
336- fmtc .TPrintf ("{*}%s{!} → {s}%s…{!}" , host , message )
336+ fmtc .TPrintf ("{*}%s{!} {s-}→{!} {s}%s…{!}" , host , message )
337337 }
338338 }
339339
0 commit comments