Merge pull request #1016 from luukvbaal/preview-tui

Hide terminated message in preview-tui
This commit is contained in:
Piña Colada 2021-05-17 02:28:40 +05:30 committed by GitHub
commit 8a36196e98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -304,7 +304,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