As of version 1.5 tmux supports sending raw escape sequences to the
underlying terminal. The sequences must be prefixed by the magic
sequence ESC P tmux ; ESC.
width=${COLUMNS:-80}
height=${LINES:-24}
width=${COLUMNS:-80}
height=${LINES:-24}
2) width=$1; height=$2;;
esac
2) width=$1; height=$2;;
esac
-echo -e "\033[8;$height;$width;t"
+[ -n "$TMUX" ] && tmux_prefix="\033Ptmux;\033"
+echo -e "$tmux_prefix\033[8;$height;$width;t"