summaryrefslogtreecommitdiff
path: root/internal/prompt
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-11-13 22:53:18 +0200
committerPaul Buetow <paul@buetow.org>2024-11-13 22:53:18 +0200
commit905e733a3aec46ff89358b49456da78199a8ed7d (patch)
treebe75275d0b307cb1d1b6e3b5e05e5f09c4d1d186 /internal/prompt
parente0796a8f38c512ca1fb1f71aa455aebe1bf88f3a (diff)
some
Diffstat (limited to 'internal/prompt')
-rw-r--r--internal/prompt/file.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/prompt/file.go b/internal/prompt/file.go
index 9668aed..5d7212b 100644
--- a/internal/prompt/file.go
+++ b/internal/prompt/file.go
@@ -17,6 +17,11 @@ var (
ErrDeleted = errors.New("deleted")
)
+// type entry interface {
+// Path() string
+// ContentWithLimit(int) (string, error)
+// }
+
// TODO: Add option to randomly select another entry when no selected?
func FileAction(question, content, filePath string) (string, error) {
colour.Info2f(filePath + ":")