From fa851728d9b327f83f607b3e70f06d2404c4dbd1 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Thu, 30 Jun 2022 23:26:32 +0530 Subject: showing more minimal output when updating chapters/episodes --- cmd/chapters.go | 2 +- cmd/episodes.go | 2 +- ui/episodes.go | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/chapters.go b/cmd/chapters.go index 0c00998..26d947b 100644 --- a/cmd/chapters.go +++ b/cmd/chapters.go @@ -68,7 +68,7 @@ var chaptersCmd = &cobra.Command{ prevChRead := selectedManga.MyListStatus.ChaptersRead if queryOnlyMode { - fmt.Printf("You Have Read \x1b[1;36m%d\x1b[0m Out Of \x1b[1;33m%d\x1b[0m Chapters From \x1b[35m%s\x1b[0m.\n", prevChRead, selectedManga.NumChapters, manga.Title) + fmt.Printf("\x1b[35m%s\x1b[0m Chapters :: \x1b[1;36m%d\x1b[0m / \x1b[1;33m%d\x1b[0m Read\n", manga.Title, prevChRead, selectedManga.NumChapters) os.Exit(0) } diff --git a/cmd/episodes.go b/cmd/episodes.go index d4efc32..05591cd 100644 --- a/cmd/episodes.go +++ b/cmd/episodes.go @@ -68,7 +68,7 @@ var episodesCmd = &cobra.Command{ prevEpWatched := selectedAnime.MyListStatus.EpWatched if queryOnlyMode { - fmt.Printf("You Have Watched \x1b[1;36m%d\x1b[0m Out Of \x1b[1;33m%d\x1b[0m Wpisodes From \x1b[35m%s\x1b[0m.\n", prevEpWatched, selectedAnime.NumEpisodes, anime.Title) + fmt.Printf("\x1b[35m%s\x1b[0m Episodes :: \x1b[1;36m%d\x1b[0m / \x1b[1;33m%d\x1b[0m Watched\n", anime.Title, prevEpWatched, selectedAnime.NumEpisodes) os.Exit(0) } diff --git a/ui/episodes.go b/ui/episodes.go index 0623946..3b5bbe8 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 :: \x1b[1;33m%d\x1b[0m -> \x1b[1;36m%d\x1b[0m", title, prevEpNum, epNum) + 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) } func CreateChapterUpdateConfirmationMessage(title string, prevChNum, chNum int) string { - return fmt.Sprintf("\x1b[35m%s\x1b[0m Chapters :: \x1b[1;33m%d\x1b[0m -> \x1b[1;36m%d\x1b[0m", title, prevChNum, chNum) + 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) } func EpisodeInput(anime a.Anime) { -- cgit v1.2.3