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

Diff for /src/usr.bin/tmux/cmd-find-window.c between version 1.44 and 1.45

version 1.44, 2017/05/31 16:44:33 version 1.45, 2018/08/20 15:00:42
Line 32 
Line 32 
         .name = "find-window",          .name = "find-window",
         .alias = "findw",          .alias = "findw",
   
         .args = { "CNt:T", 1, 1 },          .args = { "CNt:TZ", 1, 1 },
         .usage = "[-CNT] " CMD_TARGET_PANE_USAGE " match-string",          .usage = "[-CNTZ] " CMD_TARGET_PANE_USAGE " match-string",
   
         .target = { 't', CMD_FIND_PANE, 0 },          .target = { 't', CMD_FIND_PANE, 0 },
   
Line 83 
Line 83 
                 xasprintf(&filter, "#{m:*%s*,#{pane_title}}", s);                  xasprintf(&filter, "#{m:*%s*,#{pane_title}}", s);
   
         new_args = args_parse("", 1, &argv);          new_args = args_parse("", 1, &argv);
           if (args_has(args, 'Z'))
                   args_set(new_args, 'Z', NULL);
         args_set(new_args, 'f', filter);          args_set(new_args, 'f', filter);
   
         window_pane_set_mode(wp, &window_tree_mode, &item->target, new_args);          window_pane_set_mode(wp, &window_tree_mode, &item->target, new_args);

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.45