aboutsummaryrefslogtreecommitdiff
path: root/cmd-split-window.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-08-25 13:53:39 +0000
committerTiago Cunha <tcunha@gmx.com>2009-08-25 13:53:39 +0000
commit8fd77cbb5b9e81a14d52f9ddcf765d3ce557ed86 (patch)
treef15f24cd859da56f60f2fcac20b2b3dd565e0ae3 /cmd-split-window.c
parentc1653ff65452c01f0c2c41dbcb3c6d0eb241348b (diff)
downloadrtmux-8fd77cbb5b9e81a14d52f9ddcf765d3ce557ed86.tar.gz
rtmux-8fd77cbb5b9e81a14d52f9ddcf765d3ce557ed86.tar.bz2
rtmux-8fd77cbb5b9e81a14d52f9ddcf765d3ce557ed86.zip
Sync OpenBSD patchset 294:
Add a choose-client command and extend choose-{session,window} to accept a template. After a choice is made, %% (or %1) in the template is replaced by the name of the session, window or client suitable for -t and the result executed as a command. So, for example, "choose-window "killw -t '%%'"" will kill the selected window. The defaults if no template is given are (as now) select-window for choose-window, switch-client for choose-session, and detach-client for choose-client (now bound to D).
Diffstat (limited to 'cmd-split-window.c')
0 files changed, 0 insertions, 0 deletions