77aa1795d2f05583d4fc63a63abb0144beb5ecff

Author
Marc Cornellà <marc.cornella@live.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

Revert "fix: Update tmux plugin to use modern terminfo. (#8582)"

This reverts commit 69caf98cf754553fda969b0bf1d4966f0498f58f.

Diff

 1diff --git a/plugins/tmux/README.md b/plugins/tmux/README.md
 2index 86a95bd4fa5dd19b50555afcaa963333e443ba2d..db57f5be2c0177434097d30139b5f4539d894e6f 100644
 3--- a/plugins/tmux/README.md
 4+++ b/plugins/tmux/README.md
 5@@ -35,7 +35,7 @@ The plugin also supports the following -
 6 | `ZSH_TMUX_AUTOQUIT`                 | Automatically closes terminal once tmux exits (default: `ZSH_TMUX_AUTOSTART`) |
 7 | `ZSH_TMUX_FIXTERM`                  | Sets `$TERM` to 256-color term or not based on current terminal support       |
 8 | `ZSH_TMUX_ITERM2`                   | Sets the `-CC` option for iTerm2 tmux integration (default: `false`)          |
 9-| `ZSH_TMUX_FIXTERM_WITHOUT_256COLOR` | `$TERM` to use for non 256-color terminals (default: `tmux`)                |
10-| `ZSH_TMUX_FIXTERM_WITH_256COLOR`    | `$TERM` to use for 256-color terminals (default: `tmux-256color`            |
11+| `ZSH_TMUX_FIXTERM_WITHOUT_256COLOR` | `$TERM` to use for non 256-color terminals (default: `screen`)                |
12+| `ZSH_TMUX_FIXTERM_WITH_256COLOR`    | `$TERM` to use for 256-color terminals (default: `screen-256color`            |
13 | `ZSH_TMUX_CONFIG`                   | Set the configuration path (default: `$HOME/.tmux.conf`)                      |
14 | `ZSH_TMUX_UNICODE`                  | Set `tmux -u` option to support unicode                                       |
15diff --git a/plugins/tmux/tmux.plugin.zsh b/plugins/tmux/tmux.plugin.zsh
16index 5ee37dff022aa8f9672f177a8e717b0f1755d925..e52443a717cb160c101af7abda04a7ef88c01de5 100644
17--- a/plugins/tmux/tmux.plugin.zsh
18+++ b/plugins/tmux/tmux.plugin.zsh
19@@ -22,18 +22,18 @@ alias tkss='tmux kill-session -t'
20 : ${ZSH_TMUX_AUTOCONNECT:=true}
21 # Automatically close the terminal when tmux exits
22 : ${ZSH_TMUX_AUTOQUIT:=$ZSH_TMUX_AUTOSTART}
23-# Set term to tmux or tmux-256color based on current terminal support
24+# Set term to screen or screen-256color based on current terminal support
25 : ${ZSH_TMUX_FIXTERM:=true}
26 # Set '-CC' option for iTerm2 tmux integration
27 : ${ZSH_TMUX_ITERM2:=false}
28 # The TERM to use for non-256 color terminals.
29-# Tmux states this should be tmux, but you may need to change it on
30+# Tmux states this should be screen, but you may need to change it on
31 # systems without the proper terminfo
32-: ${ZSH_TMUX_FIXTERM_WITHOUT_256COLOR:=tmux}
33+: ${ZSH_TMUX_FIXTERM_WITHOUT_256COLOR:=screen}
34 # The TERM to use for 256 color terminals.
35-# Tmux states this should be tmux-256color, but you may need to change it on
36+# Tmux states this should be screen-256color, but you may need to change it on
37 # systems without the proper terminfo
38-: ${ZSH_TMUX_FIXTERM_WITH_256COLOR:=tmux-256color}
39+: ${ZSH_TMUX_FIXTERM_WITH_256COLOR:=screen-256color}
40 # Set the configuration path
41 : ${ZSH_TMUX_CONFIG:=$HOME/.tmux.conf}
42 # Set -u option to support unicode