From 076b3d0a9af7e69c8e5232d49cfeeadcfd45e9ef Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Mon, 20 May 2024 19:33:46 +0900 Subject: Embed man page in the binary and show it on 'fzf --man' --- src/functions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/functions.go') 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 -- cgit v1.2.3