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

Diff for /src/usr.bin/tmux/cmd-run-shell.c between version 1.48 and 1.49

version 1.48, 2017/04/21 20:26:34 version 1.49, 2017/04/22 10:22:39
Line 42 
Line 42 
         .args = { "bt:", 1, 1 },          .args = { "bt:", 1, 1 },
         .usage = "[-b] " CMD_TARGET_PANE_USAGE " shell-command",          .usage = "[-b] " CMD_TARGET_PANE_USAGE " shell-command",
   
         .tflag = CMD_PANE_CANFAIL,          .target = { 't', CMD_FIND_PANE, CMD_FIND_CANFAIL },
   
         .flags = 0,          .flags = 0,
         .exec = cmd_run_shell_exec          .exec = cmd_run_shell_exec
Line 86 
Line 86 
 {  {
         struct args                     *args = self->args;          struct args                     *args = self->args;
         struct cmd_run_shell_data       *cdata;          struct cmd_run_shell_data       *cdata;
         struct client                   *c = item->state.c;          struct client                   *c = cmd_find_client(item, NULL, 1);
         struct session                  *s = item->state.tflag.s;          struct session                  *s = item->target.s;
         struct winlink                  *wl = item->state.tflag.wl;          struct winlink                  *wl = item->target.wl;
         struct window_pane              *wp = item->state.tflag.wp;          struct window_pane              *wp = item->target.wp;
         const char                      *cwd;          const char                      *cwd;
   
         if (item->client != NULL && item->client->session == NULL)          if (item->client != NULL && item->client->session == NULL)

Legend:
Removed from v.1.48  
changed lines
  Added in v.1.49