Hide terminated message in preview-tui

This commit is contained in:
Luuk van Baal 2021-05-16 22:56:47 +02:00
parent 5cc98987c5
commit 8eced6c5d4
2 changed files with 2 additions and 2 deletions

View File

@ -306,7 +306,7 @@ if [ "$PREVIEW_MODE" ]; then
printf "%s" "$PWD/$1" > "$CURSEL"
preview_file "$PWD/$1"
preview_fifo &
wait "$!"
wait "$!" 2>/dev/null
pkill -P "$$"
rm "$PAGERPID" "$IMGPID" "$CURSEL" "$FIFO_UEBERZUG" "$FIFOPID" 2>/dev/null
else

View File

@ -403,7 +403,7 @@ if [ "$PREVIEW_MODE" ]; then
printf "%s" "$PWD/$1" > "$CURSEL"
preview_file "$PWD/$1"
preview_fifo &
wait "$!"
wait "$!" 2>/dev/null
pkill -P "$$"
rm "$PAGERPID" "$IMGPID" "$CURSEL" "$FIFO_UEBERZUG" "$FIFOPID" 2>/dev/null
else