=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/status.c,v retrieving revision 1.197 retrieving revision 1.198 diff -u -r1.197 -r1.198 --- src/usr.bin/tmux/status.c 2019/05/03 10:00:48 1.197 +++ src/usr.bin/tmux/status.c 2019/05/11 06:34:56 1.198 @@ -1,4 +1,4 @@ -/* $OpenBSD: status.c,v 1.197 2019/05/03 10:00:48 nicm Exp $ */ +/* $OpenBSD: status.c,v 1.198 2019/05/11 06:34:56 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -203,7 +203,7 @@ { struct session *s = c->session; - if (c->flags & CLIENT_STATUSOFF) + if (c->flags & (CLIENT_STATUSOFF|CLIENT_CONTROL)) return (-1); if (s->statusat != 1) return (s->statusat); @@ -216,7 +216,7 @@ { struct session *s = c->session; - if (c->flags & CLIENT_STATUSOFF) + if (c->flags & (CLIENT_STATUSOFF|CLIENT_CONTROL)) return (0); return (s->statuslines); }