nnn

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

commit 7b32e3bae04c6ab4f3ae2ceb616227f99529178b
parent f681a5b3f1f787dc2cd37c949ea74f27498063d9
Author: PiƱa Colada <engineerarun@gmail.com>
Date:   Fri,  4 Jun 2021 20:25:48 +0530

Merge pull request #1052 from luukvbaal/preview-tui

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() {