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

Diff for /src/usr.bin/tmux/window-customize.c between version 1.7 and 1.8

version 1.7, 2020/09/18 11:20:59 version 1.8, 2021/01/18 11:14:24
Line 190 
Line 190 
         u_int    idx;          u_int    idx;
   
         switch (scope) {          switch (scope) {
         case WINDOW_CUSTOMIZE_NONE:  
         case WINDOW_CUSTOMIZE_KEY:  
         case WINDOW_CUSTOMIZE_SERVER:  
         case WINDOW_CUSTOMIZE_GLOBAL_SESSION:  
         case WINDOW_CUSTOMIZE_GLOBAL_WINDOW:  
                 s = xstrdup("");  
                 break;  
         case WINDOW_CUSTOMIZE_PANE:          case WINDOW_CUSTOMIZE_PANE:
                 window_pane_index(fs->wp, &idx);                  window_pane_index(fs->wp, &idx);
                 xasprintf(&s, "pane %u", idx);                  xasprintf(&s, "pane %u", idx);
Line 206 
Line 199 
                 break;                  break;
         case WINDOW_CUSTOMIZE_WINDOW:          case WINDOW_CUSTOMIZE_WINDOW:
                 xasprintf(&s, "window %u", fs->wl->idx);                  xasprintf(&s, "window %u", fs->wl->idx);
                   break;
           default:
                   s = xstrdup("");
                 break;                  break;
         }          }
         return (s);          return (s);

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8