mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 21:56:57 +00:00
Only hide flags on the current window when the session is attached, from
Roland Walker.
This commit is contained in:
@ -76,6 +76,7 @@ cmd_attach_session_exec(struct cmd *self, struct cmd_ctx *ctx)
|
||||
ctx->curclient->session = s;
|
||||
session_update_activity(s);
|
||||
server_redraw_client(ctx->curclient);
|
||||
s->curw->flags &= ~WINLINK_ALERTFLAGS;
|
||||
} else {
|
||||
if (!(ctx->cmdclient->flags & CLIENT_TERMINAL)) {
|
||||
ctx->error(ctx, "not a terminal");
|
||||
@ -104,6 +105,7 @@ cmd_attach_session_exec(struct cmd *self, struct cmd_ctx *ctx)
|
||||
environ_update(update, &ctx->cmdclient->environ, &s->environ);
|
||||
|
||||
server_redraw_client(ctx->cmdclient);
|
||||
s->curw->flags &= ~WINLINK_ALERTFLAGS;
|
||||
}
|
||||
recalculate_sizes();
|
||||
server_update_socket();
|
||||
|
Reference in New Issue
Block a user