[BACK]Return to cmd-pipe-pane.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/cmd-pipe-pane.c between version 1.51 and 1.52

version 1.51, 2019/03/14 23:14:27 version 1.52, 2020/04/13 08:26:27
Line 56 
Line 56 
 static enum cmd_retval  static enum cmd_retval
 cmd_pipe_pane_exec(struct cmd *self, struct cmdq_item *item)  cmd_pipe_pane_exec(struct cmd *self, struct cmdq_item *item)
 {  {
         struct args             *args = self->args;          struct args             *args = cmd_get_args(self);
         struct client           *c = cmd_find_client(item, NULL, 1);          struct client           *c = cmd_find_client(item, NULL, 1);
         struct window_pane      *wp = item->target.wp;          struct window_pane      *wp = item->target.wp;
         struct session          *s = item->target.s;          struct session          *s = item->target.s;
Line 89 
Line 89 
          *           *
          *      bind ^p pipep -o 'cat >>~/output'           *      bind ^p pipep -o 'cat >>~/output'
          */           */
         if (args_has(self->args, 'o') && old_fd != -1)          if (args_has(args, 'o') && old_fd != -1)
                 return (CMD_RETURN_NORMAL);                  return (CMD_RETURN_NORMAL);
   
         /* What do we want to do? Neither -I or -O is -O. */          /* What do we want to do? Neither -I or -O is -O. */
         if (args_has(self->args, 'I')) {          if (args_has(args, 'I')) {
                 in = 1;                  in = 1;
                 out = args_has(self->args, 'O');                  out = args_has(args, 'O');
         } else {          } else {
                 in = 0;                  in = 0;
                 out = 1;                  out = 1;

Legend:
Removed from v.1.51  
changed lines
  Added in v.1.52