diff --git a/doc.go b/doc.go index 27ba3c1..5864f15 100644 --- a/doc.go +++ b/doc.go @@ -592,7 +592,7 @@ Files containing the null character (U+0000) in the read portion are considered Set the path of a previewer file to filter the content of regular files for previewing. The file should be executable. -Five arguments are passed to the file, first is the current file name; the second, third, fourth, and fifth are height, width, horizontal position, and vertical position of preview pane respectively. +Five arguments are passed to the file, first is the current file name; the second, third, fourth, and fifth are width, height, horizontal position, and vertical position of preview pane respectively. SIGPIPE signal is sent when enough lines are read. If the previewer returns a non-zero exit code, then the preview cache for the given file is disabled. This means that if the file is selected in the future, the previewer is called once again. Preview filtering is disabled and files are displayed as they are when the value of this option is left empty. diff --git a/docstring.go b/docstring.go index 45cb01a..40a5824 100644 --- a/docstring.go +++ b/docstring.go @@ -627,7 +627,7 @@ binary files and displayed as 'binary'. Set the path of a previewer file to filter the content of regular files for previewing. The file should be executable. Five arguments are passed to the file, first is the current file name; the second, third, fourth, and fifth -are height, width, horizontal position, and vertical position of preview +are width, height, horizontal position, and vertical position of preview pane respectively. SIGPIPE signal is sent when enough lines are read. If the previewer returns a non-zero exit code, then the preview cache for the given file is disabled. This means that if the file is selected in the future, the diff --git a/lf.1 b/lf.1 index d3975af..233f62d 100644 --- a/lf.1 +++ b/lf.1 @@ -713,7 +713,7 @@ Show previews of files and directories at the right most pane. If the file has m previewer string (default '') (not filtered if empty) .EE .PP -Set the path of a previewer file to filter the content of regular files for previewing. The file should be executable. Five arguments are passed to the file, first is the current file name; the second, third, fourth, and fifth are height, width, horizontal position, and vertical position of preview pane respectively. SIGPIPE signal is sent when enough lines are read. If the previewer returns a non-zero exit code, then the preview cache for the given file is disabled. This means that if the file is selected in the future, the previewer is called once again. Preview filtering is disabled and files are displayed as they are when the value of this option is left empty. +Set the path of a previewer file to filter the content of regular files for previewing. The file should be executable. Five arguments are passed to the file, first is the current file name; the second, third, fourth, and fifth are width, height, horizontal position, and vertical position of preview pane respectively. SIGPIPE signal is sent when enough lines are read. If the previewer returns a non-zero exit code, then the preview cache for the given file is disabled. This means that if the file is selected in the future, the previewer is called once again. Preview filtering is disabled and files are displayed as they are when the value of this option is left empty. .PP .EX cleaner string (default '') (not called if empty)