diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-06-30 23:26:32 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-06-30 23:26:32 +0530 |
commit | fa851728d9b327f83f607b3e70f06d2404c4dbd1 (patch) | |
tree | b21fbfde301a823b86c83d9fdf0fe62fd90f9d7e | |
parent | e95c06245aea024d82c042a2189c2d18b4dc7172 (diff) |
showing more minimal output when updating chapters/episodes
-rw-r--r-- | cmd/chapters.go | 2 | ||||
-rw-r--r-- | cmd/episodes.go | 2 | ||||
-rw-r--r-- | 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) { |