summaryrefslogtreecommitdiff
path: root/internal/prompt
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-01-06 22:32:36 +0200
committerPaul Buetow <paul@buetow.org>2025-01-06 22:32:36 +0200
commitb9beca8449a10ba53807ecfc7d4b15cb6f14e82e (patch)
tree4fbb030ff4e7d686b642e4a0bac90362597f07d5 /internal/prompt
parent4b34876fb23e42dcc1d9414cafa367147de42ad7 (diff)
refactor colors a bit
Diffstat (limited to 'internal/prompt')
-rw-r--r--internal/prompt/file.go2
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