I've reset my computer and now tmux is complaining about my .tmux.conf
having these directives:
setw -g mode-mouse on
set -g mouse-select-pane on
set -g mouse-resize-pane on
set -g mouse-select-window off
set -g default-terminal "screen-256color"
with these errors:
/Users/mdurrant/.tmux.conf:24: unknown option: mode-mouse [0/0]
/Users/mdurrant/.tmux.conf:25: unknown option: mouse-select-pane
/Users/mdurrant/.tmux.conf:26: unknown option: mouse-resize-pane
/Users/mdurrant/.tmux.conf:27: unknown option: mouse-select-window
So I have to comment them out, but then my mouse doesn't work in tmux, which is a pain.
How can I enable the mouse in iTerm2 with tmux?
This works on my other Mac.
I use tmux version 2.1.