Clean image preview on set preview! (#1350)
Properly clean (`ueberzug`) image preview when disabling it using for example `set preview!`. Also change "clearing" to "cleaning" in docs.
This commit is contained in:
1 parent
23418adc00
commit
42c16f1882
5 files changed
+10
-7
No files matched your search
@@ -825,7 +825,7 @@ Format string of the box drawing characters enabled by the `drawbox` option.
|
||||
cleaner string (default '') (not called if empty)
|
||||
.EE
|
||||
.PP
|
||||
Set the path of a cleaner file. The file should be executable. This file is called if previewing is enabled, the previewer is set, and the previously selected file had its preview cache disabled. Five arguments are passed to the file, (1) current file name, (2) width, (3) height, (4) horizontal position, and (5) vertical position of preview pane respectively. Preview clearing is disabled when the value of this option is left empty.
|
||||
Set the path of a cleaner file. The file should be executable. This file is called if previewing is enabled, the previewer is set, and the previously selected file had its preview cache disabled. Five arguments are passed to the file, (1) current file name, (2) width, (3) height, (4) horizontal position, and (5) vertical position of preview pane respectively. Preview cleaning is disabled when the value of this option is left empty.
|
||||
.PP
|
||||
.EX
|
||||
cursoractivefmt string (default "\e033[7m")
|
||||
|
||||
Reference in new issue
Block a user