[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.46 and 1.47

version 1.46, 2019/05/23 11:13:30 version 1.47, 2020/01/27 08:53:13
Line 40 
Line 40 
         .name = "command-prompt",          .name = "command-prompt",
         .alias = NULL,          .alias = NULL,
   
         .args = { "1iI:Np:t:", 0, 1 },          .args = { "1kiI:Np:t:", 0, 1 },
         .usage = "[-1Ni] [-I inputs] [-p prompts] " CMD_TARGET_CLIENT_USAGE " "          .usage = "[-1kiN] [-I inputs] [-p prompts] " CMD_TARGET_CLIENT_USAGE " "
                  "[template]",                   "[template]",
   
         .flags = 0,          .flags = 0,
Line 122 
Line 122 
                 cdata->flags |= PROMPT_NUMERIC;                  cdata->flags |= PROMPT_NUMERIC;
         else if (args_has(args, 'i'))          else if (args_has(args, 'i'))
                 cdata->flags |= PROMPT_INCREMENTAL;                  cdata->flags |= PROMPT_INCREMENTAL;
           else if (args_has(args, 'k'))
                   cdata->flags |= PROMPT_KEY;
         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, cdata->flags);              cmd_command_prompt_free, cdata, cdata->flags);
         free(prompt);          free(prompt);

Legend:
Removed from v.1.46  
changed lines
  Added in v.1.47