Commit 40faab6
Changed files (1)
command.go
@@ -115,7 +115,7 @@ func runTest(clientTest *ClientTest) {
width, _, _ := terminal.GetSize(int(os.Stdin.Fd()))
if strings.Compare(input, record.Answer) == 0 {
// dynamically determine width of screen for right-alignment
- fmt.Printf("%"+strconv.Itoa(width)+"s\n", COLOR_GREEN+"[ ]"+COLOR_RESET)
+ fmt.Printf("%"+strconv.Itoa(width)+"s\n", COLOR_GREEN+"[✓]"+COLOR_RESET)
clientTest.Records[i].AnsweredCorrectly = true
numCorrect++
} else if strings.Compare(input, "exit") == 0 {
@@ -124,7 +124,7 @@ func runTest(clientTest *ClientTest) {
} else {
fmt.Printf("%s%"+strconv.Itoa(width-len(record.Answer)-5)+"s\n",
COLOR_RED+record.Answer,
- "[x]"+COLOR_RESET)
+ "[X]"+COLOR_RESET)
clientTest.Records[i].ClientAnswer = input
}
}