[BACK]Return to file.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/file.c between version 1.14 and 1.15

version 1.14, 2023/01/06 07:09:27 version 1.15, 2023/04/17 17:58:35
Line 177 
Line 177 
 int  int
 file_can_print(struct client *c)  file_can_print(struct client *c)
 {  {
         if (c == NULL)          if (c == NULL ||
                 return (0);              (c->flags & CLIENT_ATTACHED) ||
         if (c->session != NULL && (~c->flags & CLIENT_CONTROL))              (c->flags & CLIENT_CONTROL))
                 return (0);                  return (0);
         return (1);          return (1);
 }  }

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15