Add --height option

This commit is contained in:
Junegunn Choi committed 2017-01-08 02:09:56 +09:00
1 parent fd137a9e87
commit 1448d631a7
24 files changed
+1624 -608

No files matched your search

+3
View File
@@ -114,6 +114,9 @@ if [[ -z "$TMUX" || "$opt" =~ ^-h && "$columns" -le 40 || ! "$opt" =~ ^-h && "$l
exit $?
fi
# --height option is not allowed
args+=("--no-height")
# Handle zoomed tmux pane by moving it to a temp window
if tmux list-panes -F '#F' | grep -q Z; then
zoomed=1