[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.35 and 1.36

version 1.35, 2016/10/11 07:23:34 version 1.36, 2016/10/12 13:03:27
Line 38 
Line 38 
         .name = "command-prompt",          .name = "command-prompt",
         .alias = NULL,          .alias = NULL,
   
         .args = { "1I:p:t:", 0, 1 },          .args = { "1I:Np:t:", 0, 1 },
         .usage = "[-1] [-I inputs] [-p prompts] " CMD_TARGET_CLIENT_USAGE " "          .usage = "[-1N] [-I inputs] [-p prompts] " CMD_TARGET_CLIENT_USAGE " "
                  "[template]",                   "[template]",
   
         .tflag = CMD_CLIENT,          .tflag = CMD_CLIENT,
Line 112 
Line 112 
         flags = 0;          flags = 0;
         if (args_has(args, '1'))          if (args_has(args, '1'))
                 flags |= PROMPT_SINGLE;                  flags |= PROMPT_SINGLE;
           else if (args_has(args, 'N'))
                   flags |= PROMPT_NUMERIC;
         status_prompt_set(c, prompt, input, cmd_command_prompt_callback,          status_prompt_set(c, prompt, input, cmd_command_prompt_callback,
             cmd_command_prompt_free, cdata, flags);              cmd_command_prompt_free, cdata, flags);
         free(prompt);          free(prompt);

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36