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:
Jonáš Dujava authored and GitHub committed 2023-07-22 14:24:35 +03:00
1 parent 23418adc00
commit 42c16f1882
5 files changed
+10 -7

No files matched your search

+1 -1
View File
@@ -706,7 +706,7 @@ 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
and (5) vertical position of preview pane respectively. Preview cleaning is
disabled when the value of this option is left empty.
cursoractivefmt string (default "\033[7m")