mirror of
https://github.com/tmux/tmux.git
synced 2024-12-12 17:38:48 +00:00
Fix switch-client -l, from Jean-Marc Eurin in GitHub issue 1343.
This commit is contained in:
parent
80994a8de1
commit
e3b034fac7
@ -100,6 +100,7 @@ cmd_attach_session(struct cmdq_item *item, const char *tflag, int dflag,
|
||||
s->cwd = format_single(item, cflag, c, s, wl, wp);
|
||||
}
|
||||
|
||||
c->last_session = c->session;
|
||||
if (c->session != NULL) {
|
||||
if (dflag) {
|
||||
TAILQ_FOREACH(c_loop, &clients, entry) {
|
||||
|
Loading…
Reference in New Issue
Block a user