commit 8a36196e9832e0d39bea4ceecfa69045dab3523e
parent cbc458763052f7ac9612915202b1c25a24dcef87
Author: PiƱa Colada <engineerarun@gmail.com>
Date: Mon, 17 May 2021 02:28:40 +0530
Merge pull request #1016 from luukvbaal/preview-tui
Hide terminated message in preview-tui
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/preview-tui b/plugins/preview-tui
@@ -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
diff --git a/plugins/preview-tui-ext b/plugins/preview-tui-ext
@@ -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