tcsh and fish users should modify the above as needed for their shells.
In tmux 3.3 and later, you must also add `set-option -g allow-passthrough on` to `~/.tmux.conf`.
## I get random commands after tmux detaches
When you run `tmux -CC` at the command line, iTerm2 communicates with tmux using in-band signaling. This means that if tmux suddenly exits or your ssh session dies, iTerm2 will send commands that reach the shell rather than tmux. While there are mitigations in place to minimize the extent of this problem it cannot be completely fixed.
...
...
@@ -70,7 +72,7 @@ Buried sessions are removed from the window and go in the menu under **Session >
## I have a lot of windows. How can I get them all to open?
If you have more than ten tabs or windows, the dashboard will open. If you have a thousand windows, this is probably convenient. If you have eleven, it might just be annoying. The threshold is adjustable in the dashboard itself:
If you have more than ten tabs or windows, the dashboard will open instead of your windows. If you have a thousand windows, this is probably convenient. If you have eleven, it might just be annoying. The threshold is adjustable in the dashboard itself:
@@ -111,12 +113,11 @@ When you open **Edit Session** in tmux integration, you can choose to edit eithe
Control sequences in tmux (like `\e]0;title\\\e`) modify the session name.
## I want tabs/windows of different sizes.
Turn on **Prefs > Advanced > Allow variable window sizes in tmux integration**. Ensure you have the most recent version of tmux installed. As of the 10/31/2019 nightly build or 3.3.7beta3 this should work reasonably well but there might be bugs. Please report them at https://iterm2.com/bugs and attach an as-minimal-as-possible debug log.
## Italics show up as reverse video, whole-screen reverse video isn't working, or my `$TERM` variable is not what I wish
Note: this applies to tmux 3.2 and earlier. In 3.3, it uses a new terminfo entry named `tmux-256color` which doesn't have the oddities of screen described below.
First, some background:
* Your terminal type is determined by the `TERM` environment variable.
...
...
@@ -138,3 +139,11 @@ set -g default-terminal "xterm-256color"
```
You can also globally disable the screen-to-xterm translation in tmux integration with **Prefs > Advanced > Convert italics to reverse video in tmux integration?**.
## Shell Integration and iTerm2 Utilities Broke in tmux 3.3