@@ -332,38 +332,38 @@ func getFormattedOutput(transcript TranscriptResponse, flags TranscribeFlags) {
332332 width = 512
333333 }
334334 fmt .Print ("\033 [H\033 [2J" )
335- fmt .Println ( "Transcript" )
335+ fmt .Printf ( " \033 [1m%s \033 [0m \n " , "Transcript" )
336336 if transcript .SpeakerLabels == true {
337337 speakerLabelsPrintFormatted (transcript .Utterances , width )
338338 } else {
339339 textPrintFormatted (* transcript .Text , width )
340340 }
341341 if transcript .DualChannel != nil && * transcript .DualChannel == true {
342- fmt .Println ( "\n Dual Channel" )
342+ fmt .Printf ( " \033 [1m%s \033 [0m \n " , "\n Dual Channel" )
343343 dualChannelPrintFormatted (transcript .Utterances , width )
344344 }
345345 if * transcript .AutoHighlights == true {
346- fmt .Println ( "Highlights" )
346+ fmt .Printf ( " \033 [1m%s \033 [0m \n " , "Highlights" )
347347 highlightsPrintFormatted (* transcript .AutoHighlightsResult )
348348 }
349349 if * transcript .ContentSafety == true {
350- fmt .Println ( "Content Moderation" )
350+ fmt .Printf ( " \033 [1m%s \033 [0m \n " , "Content Moderation" )
351351 contentSafetyPrintFormatted (* transcript .ContentSafetyLabels , width )
352352 }
353353 if * transcript .IabCategories == true {
354- fmt .Println ( "Topic Detection" )
354+ fmt .Printf ( " \033 [1m%s \033 [0m \n " , "Topic Detection" )
355355 topicDetectionPrintFormatted (* transcript .IabCategoriesResult , width )
356356 }
357357 if * transcript .SentimentAnalysis == true {
358- fmt .Println ( "Sentiment Analysis" )
358+ fmt .Printf ( " \033 [1m%s \033 [0m \n " , "Sentiment Analysis" )
359359 sentimentAnalysisPrintFormatted (transcript .SentimentAnalysisResults , width )
360360 }
361361 if * transcript .AutoChapters == true {
362- fmt .Println ( "Chapters" )
362+ fmt .Printf ( " \033 [1m%s \033 [0m \n " , "Chapters" )
363363 chaptersPrintFormatted (transcript .Chapters , width )
364364 }
365365 if * transcript .EntityDetection == true {
366- fmt .Println ( "Entity Detection" )
366+ fmt .Printf ( " \033 [1m%s \033 [0m \n " , "Entity Detection" )
367367 entityDetectionPrintFormatted (transcript .Entities , width )
368368 }
369369}
0 commit comments