Sync OpenBSD patchset 1140:

Remove a couple of unused variables from redbrain at gcc dot gnu dot org.


git-svn-id: https://tmux.svn.sourceforge.net/svnroot/tmux/trunk@2830 303bd1e2-03bb-47f1-b221-2a0928954661
Sync OpenBSD patchset 1141:

Trim a blank line.


git-svn-id: https://tmux.svn.sourceforge.net/svnroot/tmux/trunk@2831 303bd1e2-03bb-47f1-b221-2a0928954661
Sync OpenBSD patchset 1142:

Clean up and simplify the choose mode code, from Thomas Adam.


git-svn-id: https://tmux.svn.sourceforge.net/svnroot/tmux/trunk@2832 303bd1e2-03bb-47f1-b221-2a0928954661
Sync OpenBSD patchset 1143:

Provide common helper function for adding windows and sessions to choose
lists and expand %% in command before using it rather than at callback
time. From Thomas Adam.


git-svn-id: https://tmux.svn.sourceforge.net/svnroot/tmux/trunk@2833 303bd1e2-03bb-47f1-b221-2a0928954661
+ entry to show default options, suggested by Thomas Adam.



git-svn-id: https://tmux.svn.sourceforge.net/svnroot/tmux/trunk@2834 303bd1e2-03bb-47f1-b221-2a0928954661
+.


git-svn-id: https://tmux.svn.sourceforge.net/svnroot/tmux/trunk@2835 303bd1e2-03bb-47f1-b221-2a0928954661
Add.


git-svn-id: https://tmux.svn.sourceforge.net/svnroot/tmux/trunk@2836 303bd1e2-03bb-47f1-b221-2a0928954661
Sync OpenBSD patchset 1144:

Clear flags across all sessions, from Thomas Adam.


git-svn-id: https://tmux.svn.sourceforge.net/svnroot/tmux/trunk@2837 303bd1e2-03bb-47f1-b221-2a0928954661
Sync OpenBSD patchset 1146:

Add choose-tree command to show windows and sessions in the same
list. Change choose-window and -session to use the same code. From
Thomas Adam.


git-svn-id: https://tmux.svn.sourceforge.net/svnroot/tmux/trunk@2838 303bd1e2-03bb-47f1-b221-2a0928954661
Update list of sources to reflect the recent changes introduced by the
choose-tree command.


git-svn-id: https://tmux.svn.sourceforge.net/svnroot/tmux/trunk@2839 303bd1e2-03bb-47f1-b221-2a0928954661
Sync OpenBSD patchset 1147:

remove extraneous line;


git-svn-id: https://tmux.svn.sourceforge.net/svnroot/tmux/trunk@2840 303bd1e2-03bb-47f1-b221-2a0928954661
Sync OpenBSD patchset 1148:

Fix choose-tree usage string.


git-svn-id: https://tmux.svn.sourceforge.net/svnroot/tmux/trunk@2841 303bd1e2-03bb-47f1-b221-2a0928954661
Sync OpenBSD patchset 1149:

Move a NULL check inside a function, from Tiago Cunha.


git-svn-id: https://tmux.svn.sourceforge.net/svnroot/tmux/trunk@2842 303bd1e2-03bb-47f1-b221-2a0928954661
Sync OpenBSD patchset 1150:

xfree is not particularly helpful, remove it. From Thomas Adam.


git-svn-id: https://tmux.svn.sourceforge.net/svnroot/tmux/trunk@2843 303bd1e2-03bb-47f1-b221-2a0928954661
Sync OpenBSD patchset 1151:

Make command exec functions return an enum rather than -1/0/1 values and
add a new value to mean "leave client running but don't attach" to fix
problems with using some commands in a command sequence. Most of the
work by Thomas Adam, problem reported by "jspenguin" on SF bug 3535531.


git-svn-id: https://tmux.svn.sourceforge.net/svnroot/tmux/trunk@2844 303bd1e2-03bb-47f1-b221-2a0928954661
Remove remaining xfree calls from the portable version.


git-svn-id: https://tmux.svn.sourceforge.net/svnroot/tmux/trunk@2845 303bd1e2-03bb-47f1-b221-2a0928954661