mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Fix preview-tui zombie
This commit is contained in:
parent
99e039d504
commit
5533f152bd
|
@ -380,6 +380,9 @@ winch_handler() {
|
||||||
tail --follow "$FIFO_UEBERZUG" | ueberzug layer --silent --parser json &
|
tail --follow "$FIFO_UEBERZUG" | ueberzug layer --silent --parser json &
|
||||||
fi
|
fi
|
||||||
preview_file "$(cat "$CURSEL")"
|
preview_file "$(cat "$CURSEL")"
|
||||||
|
if ! kill -0 "$NNN_PARENT" || ! pgrep nnn; then
|
||||||
|
pkill -P "$$"
|
||||||
|
fi
|
||||||
} 2>/dev/null
|
} 2>/dev/null
|
||||||
|
|
||||||
preview_fifo() {
|
preview_fifo() {
|
||||||
|
|
Loading…
Reference in a new issue