nnn

mirror of https://github.com/jarun/nnn
Log | Files | Refs | README | LICENSE

commit adb3c0149aeec3eaeea72a8fbfc9f5ce6ae69e60
parent f5f1d5037f5e1e7e480a5ba4bd496ca544647241
Author: 10ge6 <dsf@jugemu.systems>
Date:   Mon, 16 Mar 2026 00:09:22 -0300

preview-tui: clear stale kitty graphics placements when switching away from video previews
Diffstat:
Mplugins/preview-tui | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/plugins/preview-tui b/plugins/preview-tui @@ -516,6 +516,7 @@ preview_fifo() { if [ -n "$selection" ]; then pidkill "$PREVIEWPID" [ -p "$FIFO_UEBERZUG" ] && ueberzug_remove + [ -n "$KITTY_LISTEN_ON" ] && kitty +kitten icat --clear --stdin=no >/dev/tty 2>/dev/null [ "$selection" = "close" ] && break preview_file "$selection" printf "%s" "$selection" > "$CURSEL"