summaryrefslogtreecommitdiff
path: root/internal/prompt/file.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-10-31 23:09:54 +0200
committerPaul Buetow <paul@buetow.org>2024-10-31 23:09:54 +0200
commitc2b3c4f6e4d40c49d55deb5b696bb3cb8cdde531 (patch)
tree1f83f75bf085dc1b02e7562cfcb759f4d8c6486c /internal/prompt/file.go
parent1c143f2e4faeb803f5f7c96f29c1ef447a0b2097 (diff)
intial warning when there aren't enough queued
Diffstat (limited to 'internal/prompt/file.go')
-rw-r--r--internal/prompt/file.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/prompt/file.go b/internal/prompt/file.go
index d6d5d7c..ac72af5 100644
--- a/internal/prompt/file.go
+++ b/internal/prompt/file.go
@@ -17,14 +17,14 @@ var (
)
func FileAction(question, content, filePath string) error {
- info2(filePath + ":")
+ Info2(filePath + ":")
fmt.Print("\n")
- info1(content)
+ Info1(content)
fmt.Print("\n")
reader := bufio.NewReader(os.Stdin)
for {
- ack("%s (y=yes/n=no/e=edit/d=delete):", question)
+ Ack("%s (y=yes/n=no/e=edit/d=delete):", question)
input, err := reader.ReadString('\n')
if err != nil {
fmt.Println("Error reading input:", err)