From beacbdf5974ab4eadc2ab651ed59b7bd2dcc6e02 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Thu, 30 Jun 2022 23:32:08 +0530 Subject: formatted conformation message and fixed extra whitespace showing on invalid input --- ui/score.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/score.go') diff --git a/ui/score.go b/ui/score.go index 6f0d92a..4832f6a 100644 --- a/ui/score.go +++ b/ui/score.go @@ -78,7 +78,7 @@ func ScoreInput(id, currentScore int, title string, isManga bool) { template := &p.PromptTemplates { Valid: "\x1b[0m{{ . | magenta }}", - Invalid: "\x1b[0m{{ . | magenta }}\x1b[31m ", + Invalid: "\x1b[0m{{ . | magenta }}\x1b[31m", Success: "{{ . | cyan }}", } -- cgit v1.2.3