mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 03:41:27 +00:00
Merge pull request #1016 from luukvbaal/preview-tui
Hide terminated message in preview-tui
This commit is contained in:
commit
8a36196e98
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue