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

Diff for /src/usr.bin/tmux/cmd-list-keys.c between version 1.16 and 1.17

version 1.16, 2011/12/27 13:41:50 version 1.17, 2012/01/21 11:12:13
Line 55 
Line 55 
   
         width = 0;          width = 0;
   
         SPLAY_FOREACH(bd, key_bindings, &key_bindings) {          RB_FOREACH(bd, key_bindings, &key_bindings) {
                 key = key_string_lookup_key(bd->key & ~KEYC_PREFIX);                  key = key_string_lookup_key(bd->key & ~KEYC_PREFIX);
                 if (key == NULL)                  if (key == NULL)
                         continue;                          continue;
Line 72 
Line 72 
                         width = keywidth;                          width = keywidth;
         }          }
   
         SPLAY_FOREACH(bd, key_bindings, &key_bindings) {          RB_FOREACH(bd, key_bindings, &key_bindings) {
                 key = key_string_lookup_key(bd->key & ~KEYC_PREFIX);                  key = key_string_lookup_key(bd->key & ~KEYC_PREFIX);
                 if (key == NULL)                  if (key == NULL)
                         continue;                          continue;
Line 116 
Line 116 
   
         width = 0;          width = 0;
         any_mode = 0;          any_mode = 0;
         SPLAY_FOREACH(mbind, mode_key_tree, mtab->tree) {          RB_FOREACH(mbind, mode_key_tree, mtab->tree) {
                 key = key_string_lookup_key(mbind->key);                  key = key_string_lookup_key(mbind->key);
                 if (key == NULL)                  if (key == NULL)
                         continue;                          continue;
Line 129 
Line 129 
                         width = keywidth;                          width = keywidth;
         }          }
   
         SPLAY_FOREACH(mbind, mode_key_tree, mtab->tree) {          RB_FOREACH(mbind, mode_key_tree, mtab->tree) {
                 key = key_string_lookup_key(mbind->key);                  key = key_string_lookup_key(mbind->key);
                 if (key == NULL)                  if (key == NULL)
                         continue;                          continue;

Legend:
Removed from v.1.16  
changed lines
  Added in v.1.17