diff options
author | 2017-04-21 14:01:19 +0000 | |
---|---|---|
committer | 2017-04-21 14:01:19 +0000 | |
commit | bebc73f12fb20d0fe5d2665112e006eb30001352 (patch) | |
tree | 0e68251b9e45ecf8ef494c4eaa0010ff9472d71c /usr.bin/tmux/cmd-attach-session.c | |
parent | Repair AgentX support. (diff) | |
download | wireguard-openbsd-bebc73f12fb20d0fe5d2665112e006eb30001352.tar.xz wireguard-openbsd-bebc73f12fb20d0fe5d2665112e006eb30001352.zip |
Store state shared between multiple commands in the queue in a shared
structure.
Diffstat (limited to 'usr.bin/tmux/cmd-attach-session.c')
-rw-r--r-- | usr.bin/tmux/cmd-attach-session.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-attach-session.c b/usr.bin/tmux/cmd-attach-session.c index 8136886b634..d9af1a2cd15 100644 --- a/usr.bin/tmux/cmd-attach-session.c +++ b/usr.bin/tmux/cmd-attach-session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-attach-session.c,v 1.70 2017/03/08 13:36:12 nicm Exp $ */ +/* $OpenBSD: cmd-attach-session.c,v 1.71 2017/04/21 14:01:19 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -92,7 +92,7 @@ cmd_attach_session(struct cmdq_item *item, int dflag, int rflag, environ_update(s->options, c->environ, s->environ); c->session = s; - if (!item->repeat) + if (~item->shared->flags & CMDQ_SHARED_REPEAT) server_client_set_key_table(c, NULL); status_timer_start(c); notify_client("client-session-changed", c); |