aboutsummaryrefslogtreecommitdiff
path: root/ui/score.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-06-30 23:32:08 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-06-30 23:32:08 +0530
commitbeacbdf5974ab4eadc2ab651ed59b7bd2dcc6e02 (patch)
tree16815b6ea47ed0c812749a528e863bef787d9d8c /ui/score.go
parentfa851728d9b327f83f607b3e70f06d2404c4dbd1 (diff)
formatted conformation message and fixed extra whitespace showing on invalid input
Diffstat (limited to 'ui/score.go')
-rw-r--r--ui/score.go2
1 files changed, 1 insertions, 1 deletions
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 }}",
}