Give each client a name. This defaults to the tty name as before but
authornicm <nicm@openbsd.org>
Wed, 5 Apr 2017 10:49:46 +0000 (10:49 +0000)
committernicm <nicm@openbsd.org>
Wed, 5 Apr 2017 10:49:46 +0000 (10:49 +0000)
commitbcdd9d706171ea317bdacd0f2aa974264c9a77ff
tree17da226493516581893635237a90a9df59872f65
parent5f5037e3ae15162c687706a62180a535a9ba3210
Give each client a name. This defaults to the tty name as before but
falls back to an alternative if the tty name is not available. This is
clearer than overloading the client ttyname member and allows us to
remove the path stored in the tty struct, it should always be the same
as the client.
usr.bin/tmux/cmd-choose-client.c
usr.bin/tmux/cmd-find.c
usr.bin/tmux/cmd-list-clients.c
usr.bin/tmux/format.c
usr.bin/tmux/screen-redraw.c
usr.bin/tmux/server-client.c
usr.bin/tmux/tmux.1
usr.bin/tmux/tmux.h
usr.bin/tmux/tty.c