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

Diff for /src/usr.bin/tmux/cmd-display-panes.c between version 1.40 and 1.41

version 1.40, 2021/08/13 18:54:54 version 1.41, 2021/08/20 19:50:16
Line 276 
Line 276 
                 delay = options_get_number(s->options, "display-panes-time");                  delay = options_get_number(s->options, "display-panes-time");
   
         cdata = xmalloc(sizeof *cdata);          cdata = xmalloc(sizeof *cdata);
         if (args->argc != 0)          if (args_count(args))
                 cdata->command = xstrdup(args->argv[0]);                  cdata->command = xstrdup(args_string(args, 0));
         else          else
                 cdata->command = xstrdup("select-pane -t '%%'");                  cdata->command = xstrdup("select-pane -t '%%'");
         if (args_has(args, 'b'))          if (args_has(args, 'b'))

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41