Skip to content

Commit

Permalink
Merge pull request #1208 from luukvbaal/preview-tui
Browse files Browse the repository at this point in the history
Fix preview-tui without -a
  • Loading branch information
jarun committed Oct 23, 2021
2 parents 4d864d4 + de017b7 commit b72090c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/preview-tui
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ NNN_PREVIEWDIR="${NNN_PREVIEWDIR:-$TMPDIR/nnn/previews}"
NNN_PREVIEWWIDTH="${NNN_PREVIEWWIDTH:-1920}"
NNN_PREVIEWHEIGHT="${NNN_PREVIEWHEIGHT:-1080}"
NNN_PARENT="${NNN_FIFO#*.}"
[ "$NNN_PARENT" -eq "$NNN_PARENT" ] 2>/dev/null || NNN_PARENT=""
FIFOPID="$TMPDIR/nnn-preview-tui-fifopid.$NNN_PARENT"
PREVIEWPID="$TMPDIR/nnn-preview-tui-pagerpid.$NNN_PARENT"
CURSEL="$TMPDIR/nnn-preview-tui-selection.$NNN_PARENT"
Expand Down

0 comments on commit b72090c

Please sign in to comment.