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

Diff for /src/usr.bin/tmux/cmd-command-prompt.c between version 1.42 and 1.43

version 1.42, 2017/04/19 12:44:29 version 1.43, 2017/04/22 10:22:39
Line 43 
Line 43 
         .usage = "[-1Ni] [-I inputs] [-p prompts] " CMD_TARGET_CLIENT_USAGE " "          .usage = "[-1Ni] [-I inputs] [-p prompts] " CMD_TARGET_CLIENT_USAGE " "
                  "[template]",                   "[template]",
   
         .tflag = CMD_CLIENT,  
   
         .flags = 0,          .flags = 0,
         .exec = cmd_command_prompt_exec          .exec = cmd_command_prompt_exec
 };  };
Line 69 
Line 67 
         struct args                     *args = self->args;          struct args                     *args = self->args;
         const char                      *inputs, *prompts;          const char                      *inputs, *prompts;
         struct cmd_command_prompt_cdata *cdata;          struct cmd_command_prompt_cdata *cdata;
         struct client                   *c = item->state.c;          struct client                   *c;
         char                            *prompt, *ptr, *input = NULL;          char                            *prompt, *ptr, *input = NULL;
         size_t                           n;          size_t                           n;
   
           if ((c = cmd_find_client(item, args_get(args, 't'), 0)) == NULL)
                   return (CMD_RETURN_ERROR);
   
         if (c->prompt_string != NULL)          if (c->prompt_string != NULL)
                 return (CMD_RETURN_NORMAL);                  return (CMD_RETURN_NORMAL);

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43