aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-06-30 23:21:05 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-06-30 23:21:05 +0530
commite95c06245aea024d82c042a2189c2d18b4dc7172 (patch)
tree0aad0dc735b9e1148c9be33bed24fa7b13538b3e /ui
parentd28ed19d99f757cd898ee47925bbc9aa4f428125 (diff)
Bug Fix: invalid input showing one extra whitespace (looked weird)
Diffstat (limited to 'ui')
-rw-r--r--ui/episodes.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/episodes.go b/ui/episodes.go
index 69e2463..0623946 100644
--- a/ui/episodes.go
+++ b/ui/episodes.go
@@ -51,7 +51,7 @@ func EpisodeInput(anime a.Anime) {
template := &p.PromptTemplates {
Valid: "\x1b[0m{{ . | magenta }}",
- Invalid: "\x1b[0m{{ . | magenta }}\x1b[31m ",
+ Invalid: "\x1b[0m{{ . | magenta }}\x1b[31m",
Success: "{{ . | cyan }}",
}
@@ -84,7 +84,7 @@ func ChapterInput(manga m.Manga) {
template := &p.PromptTemplates {
Valid: "\x1b[0m{{ . | magenta }}",
- Invalid: "\x1b[0m{{ . | magenta }}\x1b[31m ",
+ Invalid: "\x1b[0m{{ . | magenta }}\x1b[31m",
Success: "{{ . | cyan }}",
}