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

Diff for /src/usr.bin/tmux/window-copy.c between version 1.330 and 1.331

version 1.330, 2021/08/20 20:04:22 version 1.331, 2021/10/11 10:55:31
Line 4531 
Line 4531 
         if (cmd == NULL || *cmd == '\0')          if (cmd == NULL || *cmd == '\0')
                 cmd = options_get_string(global_options, "copy-command");                  cmd = options_get_string(global_options, "copy-command");
         if (cmd != NULL && *cmd != '\0') {          if (cmd != NULL && *cmd != '\0') {
                 job = job_run(cmd, 0, NULL, s, NULL, NULL, NULL, NULL, NULL,                  job = job_run(cmd, 0, NULL, NULL, s, NULL, NULL, NULL, NULL,
                     JOB_NOWAIT, -1, -1);                      NULL, JOB_NOWAIT, -1, -1);
                 bufferevent_write(job_get_event(job), buf, *len);                  bufferevent_write(job_get_event(job), buf, *len);
         }          }
         return (buf);          return (buf);

Legend:
Removed from v.1.330  
changed lines
  Added in v.1.331