From bd0da056a9f4c1246ad5a980b1c824b7382478cf Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sun, 3 Jul 2022 22:57:06 +0530 Subject: dynamically handling prompt length, search length, offset, etc --- ui/episodes.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui/episodes.go') diff --git a/ui/episodes.go b/ui/episodes.go index 3b5bbe8..f8ad28a 100644 --- a/ui/episodes.go +++ b/ui/episodes.go @@ -31,11 +31,11 @@ import ( // very short name I know func CreateEpisodeUpdateConfirmationMessage(title string, prevEpNum, epNum int) string { - return fmt.Sprintf("\x1b[35m%s\x1b[0m Episodes Updated :: \x1b[1;33m%d\x1b[0m -> \x1b[1;36m%d\x1b[0m", title, prevEpNum, epNum) + return fmt.Sprintf("\x1b[35m%s\x1b[0m Episodes Watched :: \x1b[1;33m%d\x1b[0m -> \x1b[1;36m%d\x1b[0m", title, prevEpNum, epNum) } func CreateChapterUpdateConfirmationMessage(title string, prevChNum, chNum int) string { - return fmt.Sprintf("\x1b[35m%s\x1b[0m Chapters Updated :: \x1b[1;33m%d\x1b[0m -> \x1b[1;36m%d\x1b[0m", title, prevChNum, chNum) + return fmt.Sprintf("\x1b[35m%s\x1b[0m Chapters Read :: \x1b[1;33m%d\x1b[0m -> \x1b[1;36m%d\x1b[0m", title, prevChNum, chNum) } func EpisodeInput(anime a.Anime) { -- cgit v1.2.3