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

Diff for /src/usr.bin/tmux/Attic/cmd-choose-window.c between version 1.19 and 1.20

version 1.19, 2012/05/22 11:35:37 version 1.20, 2012/05/29 08:15:45
Line 72 
Line 72 
                 return (0);                  return (0);
   
         if ((template = args_get(args, 'F')) == NULL)          if ((template = args_get(args, 'F')) == NULL)
                 template = DEFAULT_WINDOW_TEMPLATE;                  template = DEFAULT_WINDOW_TEMPLATE " \"#{pane_title}\"";
   
         cur = idx = 0;          cur = idx = 0;
         RB_FOREACH(wm, winlinks, &s->windows) {          RB_FOREACH(wm, winlinks, &s->windows) {
Line 84 
Line 84 
                 format_add(ft, "line", "%u", idx);                  format_add(ft, "line", "%u", idx);
                 format_session(ft, s);                  format_session(ft, s);
                 format_winlink(ft, s, wm);                  format_winlink(ft, s, wm);
                   format_window_pane(ft, wm->window->active);
   
                 line = format_expand(ft, template);                  line = format_expand(ft, template);
                 window_choose_add(wl->window->active, idx, "%s", line);                  window_choose_add(wl->window->active, wm->idx, "%s", line);
   
                 xfree(line);                  xfree(line);
                 format_free(ft);                  format_free(ft);

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20