Merge pull request #1585 from luukvbaal/preview-tui

Preview-tui hide wezterm split-pane output
This commit is contained in:
Arun 2023-02-17 07:18:35 +05:30 committed by GitHub
commit ade477e705
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -163,7 +163,7 @@ start_preview() {
--cwd "$PWD" "$ENVSTRING" --location "${NNN_SPLIT}split" "$0" "$1" 1 ;;
wezterm)
if [ "$NNN_SPLIT" = "v" ]; then split="--horizontal"; else split="--bottom"; fi
wezterm cli split-pane --cwd "$PWD" $split "$0" "$1" 1
wezterm cli split-pane --cwd "$PWD" $split "$0" "$1" 1 >/dev/null
wezterm cli activate-pane-direction Prev ;;
iterm)
command="$SHELL -c 'cd $PWD; env $ENVSTRING $0 $1 1'"