diff options
| author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-07-03 22:57:06 +0530 | 
|---|---|---|
| committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-07-03 22:57:06 +0530 | 
| commit | bd0da056a9f4c1246ad5a980b1c824b7382478cf (patch) | |
| tree | 3aedc5be2f841f8492b176cc77dcc95087caeede /ui/episodes.go | |
| parent | 8494b2933908d54d0c64ca08d877efe4e3d8d7b3 (diff) | |
dynamically handling prompt length, search length, offset, etc
Diffstat (limited to 'ui/episodes.go')
| -rw-r--r-- | ui/episodes.go | 4 | 
1 files changed, 2 insertions, 2 deletions
| 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) { |