mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Preview-tui fix winch_handler
This commit is contained in:
parent
2bd72d1b29
commit
b89c32b9fa
|
@ -274,8 +274,10 @@ ueberzug_remove() {
|
|||
winch_handler() {
|
||||
clear
|
||||
kill "$(cat "$IMGPID")" "$(cat "$PAGERPID")"
|
||||
pkill -P "$$"
|
||||
if [ -p "$FIFO_UEBERZUG" ]; then tail --follow "$FIFO_UEBERZUG" | ueberzug layer --silent --parser json & fi
|
||||
if [ -p "$FIFO_UEBERZUG" ]; then
|
||||
pkill -P "$$"
|
||||
tail --follow "$FIFO_UEBERZUG" | ueberzug layer --silent --parser json &
|
||||
fi
|
||||
cat "$CURSEL" > "$NNN_FIFO"
|
||||
preview_file "$(cat "$CURSEL")"
|
||||
preview_fifo &
|
||||
|
|
|
@ -373,8 +373,10 @@ ueberzug_remove() {
|
|||
winch_handler() {
|
||||
clear
|
||||
kill "$(cat "$IMGPID")" "$(cat "$PAGERPID")"
|
||||
pkill -P "$$"
|
||||
if [ -p "$FIFO_UEBERZUG" ]; then tail --follow "$FIFO_UEBERZUG" | ueberzug layer --silent --parser json & fi
|
||||
if [ -p "$FIFO_UEBERZUG" ]; then
|
||||
pkill -P "$$"
|
||||
tail --follow "$FIFO_UEBERZUG" | ueberzug layer --silent --parser json &
|
||||
fi
|
||||
cat "$CURSEL" > "$NNN_FIFO"
|
||||
preview_file "$(cat "$CURSEL")"
|
||||
preview_fifo &
|
||||
|
|
Loading…
Reference in a new issue