aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-07-29 17:03:16 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-07-29 17:03:16 +0000
commit2b331084b4c69dafac6e2bb1d5b02193666cf0e0 (patch)
treecaa929e1ee92319d1df53487329bd1d6995daac4 /Makefile
parentc1d6d7ac6b7eb6c3d3939d2c837281d3ce8caf1b (diff)
downloadrtmux-2b331084b4c69dafac6e2bb1d5b02193666cf0e0.tar.gz
rtmux-2b331084b4c69dafac6e2bb1d5b02193666cf0e0.tar.bz2
rtmux-2b331084b4c69dafac6e2bb1d5b02193666cf0e0.zip
Add an additional heuristic to work out the current session when run from the
command line. The name of all slave ptys in the server is known, so if the client was run on a tty, look for any sessions containing that tty and use the most recently created. This is more reliable than looking at $TMUX if windows have been moved or linked between sessions.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions