diff options
author | Swanand Pagnis <swanand.pagnis@gmail.com> | 2013-02-14 14:06:42 +0530 |
---|---|---|
committer | Swanand Pagnis <swanand.pagnis@gmail.com> | 2013-02-14 14:07:58 +0530 |
commit | fb3dc24ff4aac55c5cb0cd4e448b26f223a68957 (patch) | |
tree | 8231714bffcadaaf36cf8d39e46798b43afe5cd4 | |
parent | fce68bbba0be99cfd49f9e46572b2d12d0a86d45 (diff) | |
download | zsh-fb3dc24ff4aac55c5cb0cd4e448b26f223a68957.tar.gz zsh-fb3dc24ff4aac55c5cb0cd4e448b26f223a68957.tar.bz2 zsh-fb3dc24ff4aac55c5cb0cd4e448b26f223a68957.zip |
Support for opening tabs and windows in the same This fixed #1498 for me on Mountain Lion
-rw-r--r-- | lib/termsupport.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/termsupport.zsh b/lib/termsupport.zsh index c056989eb..e3828da14 100644 --- a/lib/termsupport.zsh +++ b/lib/termsupport.zsh @@ -8,7 +8,7 @@ function title { fi if [[ "$TERM" == screen* ]]; then print -Pn "\ek$1:q\e\\" #set screen hardstatus, usually truncated at 20 chars - elif [[ "$TERM" == xterm* ]] || [[ $TERM == rxvt* ]] || [[ "$TERM_PROGRAM" == "iTerm.app" ]]; then + elif [[ "$TERM" == xterm* ]] || [[ $TERM == rxvt* ]] || [[ $TERM == ansi ]] || [[ "$TERM_PROGRAM" == "iTerm.app" ]]; then print -Pn "\e]2;$2:q\a" #set window name print -Pn "\e]1;$1:q\a" #set icon (=tab) name (will override window name on broken terminal) fi |