diff options
| author | Paul Buetow <paul@buetow.org> | 2025-01-06 22:32:36 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-01-06 22:32:36 +0200 |
| commit | b9beca8449a10ba53807ecfc7d4b15cb6f14e82e (patch) | |
| tree | 4fbb030ff4e7d686b642e4a0bac90362597f07d5 /internal/prompt | |
| parent | 4b34876fb23e42dcc1d9414cafa367147de42ad7 (diff) | |
refactor colors a bit
Diffstat (limited to 'internal/prompt')
| -rw-r--r-- | internal/prompt/file.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/internal/prompt/file.go b/internal/prompt/file.go index 2f0be02..7da24aa 100644 --- a/internal/prompt/file.go +++ b/internal/prompt/file.go @@ -21,9 +21,7 @@ var ( func FileAction(question, content, filePath string, includeRandomOption ...bool) (string, error) { colour.Info2f("%s:", filePath) - fmt.Print("\n") colour.Info2f("%s", content) - fmt.Print("\n") reader := bufio.NewReader(os.Stdin) includeRandom := len(includeRandomOption) > 0 && includeRandomOption[0] == RandomOption |
