diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2024-05-20 19:33:46 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2024-05-21 01:06:10 +0900 |
| commit | 076b3d0a9af7e69c8e5232d49cfeeadcfd45e9ef (patch) | |
| tree | af30be146de4df1b513b4145fa34ee3be5e6bbdf /src/functions.go | |
| parent | 7b0c9e04d381090ba2004f52fa7127cf2f4e3df4 (diff) | |
| download | fzf-076b3d0a9af7e69c8e5232d49cfeeadcfd45e9ef.tar.gz | |
Embed man page in the binary and show it on 'fzf --man'
Diffstat (limited to 'src/functions.go')
| -rw-r--r-- | src/functions.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/functions.go b/src/functions.go index 8d29db74..59ca0bad 100644 --- a/src/functions.go +++ b/src/functions.go @@ -6,7 +6,7 @@ import ( "unsafe" ) -func writeTemporaryFile(data []string, printSep string) string { +func WriteTemporaryFile(data []string, printSep string) string { f, err := os.CreateTemp("", "fzf-temp-*") if err != nil { // Unable to create temporary file |
