nnn

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 5533f152bd9f23bc26c4673b587d111003e76422
parent 99e039d504fe70568e7b549fedf10a833efd6078
Author: Luuk van Baal <luukvbaal@gmail.com>
Date:   Fri,  4 Jun 2021 16:43:59 +0200

Fix preview-tui zombie

Diffstat:
Mplugins/preview-tui | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/plugins/preview-tui b/plugins/preview-tui @@ -380,6 +380,9 @@ winch_handler() { tail --follow "$FIFO_UEBERZUG" | ueberzug layer --silent --parser json & fi preview_file "$(cat "$CURSEL")" + if ! kill -0 "$NNN_PARENT" || ! pgrep nnn; then + pkill -P "$$" + fi } 2>/dev/null preview_fifo() {