mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Hide terminated message in preview-tui
This commit is contained in:
parent
5cc98987c5
commit
8eced6c5d4
|
@ -306,7 +306,7 @@ if [ "$PREVIEW_MODE" ]; then
|
||||||
printf "%s" "$PWD/$1" > "$CURSEL"
|
printf "%s" "$PWD/$1" > "$CURSEL"
|
||||||
preview_file "$PWD/$1"
|
preview_file "$PWD/$1"
|
||||||
preview_fifo &
|
preview_fifo &
|
||||||
wait "$!"
|
wait "$!" 2>/dev/null
|
||||||
pkill -P "$$"
|
pkill -P "$$"
|
||||||
rm "$PAGERPID" "$IMGPID" "$CURSEL" "$FIFO_UEBERZUG" "$FIFOPID" 2>/dev/null
|
rm "$PAGERPID" "$IMGPID" "$CURSEL" "$FIFO_UEBERZUG" "$FIFOPID" 2>/dev/null
|
||||||
else
|
else
|
||||||
|
|
|
@ -403,7 +403,7 @@ if [ "$PREVIEW_MODE" ]; then
|
||||||
printf "%s" "$PWD/$1" > "$CURSEL"
|
printf "%s" "$PWD/$1" > "$CURSEL"
|
||||||
preview_file "$PWD/$1"
|
preview_file "$PWD/$1"
|
||||||
preview_fifo &
|
preview_fifo &
|
||||||
wait "$!"
|
wait "$!" 2>/dev/null
|
||||||
pkill -P "$$"
|
pkill -P "$$"
|
||||||
rm "$PAGERPID" "$IMGPID" "$CURSEL" "$FIFO_UEBERZUG" "$FIFOPID" 2>/dev/null
|
rm "$PAGERPID" "$IMGPID" "$CURSEL" "$FIFO_UEBERZUG" "$FIFOPID" 2>/dev/null
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue