diff options
| author | Paul Buetow <paul@buetow.org> | 2024-11-13 22:53:18 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-11-13 22:53:18 +0200 |
| commit | 905e733a3aec46ff89358b49456da78199a8ed7d (patch) | |
| tree | be75275d0b307cb1d1b6e3b5e05e5f09c4d1d186 /internal/prompt | |
| parent | e0796a8f38c512ca1fb1f71aa455aebe1bf88f3a (diff) | |
some
Diffstat (limited to 'internal/prompt')
| -rw-r--r-- | internal/prompt/file.go | 5 |
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 + ":") |
