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

Diff for /src/usr.bin/tmux/cmd-paste-buffer.c between version 1.26 and 1.27

version 1.26, 2014/10/20 22:29:25 version 1.27, 2014/11/05 23:25:02
Line 49 
Line 49 
         struct session          *s;          struct session          *s;
         struct paste_buffer     *pb;          struct paste_buffer     *pb;
         const char              *sepstr, *bufname;          const char              *sepstr, *bufname;
         int                      pflag;  
   
         if (cmd_find_pane(cmdq, args_get(args, 't'), &s, &wp) == NULL)          if (cmd_find_pane(cmdq, args_get(args, 't'), &s, &wp) == NULL)
                 return (CMD_RETURN_ERROR);                  return (CMD_RETURN_ERROR);
Line 76 
Line 75 
                         else                          else
                                 sepstr = "\r";                                  sepstr = "\r";
                 }                  }
                 pflag = (wp->screen->mode & MODE_BRACKETPASTE);                  paste_send_pane(pb, wp, sepstr, args_has(args, 'p'));
                 paste_send_pane(pb, wp, sepstr, args_has(args, 'p') && pflag);  
         }          }
   
         /* Delete the buffer if -d. */          /* Delete the buffer if -d. */

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27