mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51: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"
|
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