mirror of
https://github.com/jarun/nnn.git
synced 2024-11-18 08:59:14 +00:00
Merge pull request #1094 from jarun/preview-tui
Allow tmux inside kitty without KITTY_LISTEN_ON set
This commit is contained in:
commit
c482cf54f0
|
@ -412,7 +412,7 @@ else
|
|||
clear
|
||||
printf "No FIFO available! (\$NNN_FIFO='%s')\nPlease read Usage in preview-tui." "$NNN_FIFO"
|
||||
cfg=$(stty -g); stty raw -echo; head -c 1; stty "$cfg"
|
||||
elif [ "$KITTY_WINDOW_ID" ] && [ -z "$KITTY_LISTEN_ON" ]; then
|
||||
elif [ "$KITTY_WINDOW_ID" ] && [ -z "$TMUX" ] && [ -z "$KITTY_LISTEN_ON" ]; then
|
||||
clear
|
||||
printf "\$KITTY_LISTEN_ON not set!\nPlease read Usage in preview-tui."
|
||||
cfg=$(stty -g); stty raw -echo; head -c 1; stty "$cfg"
|
||||
|
|
Loading…
Reference in a new issue