[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.15 and 1.16

version 1.15, 2011/07/08 15:18:20 version 1.16, 2011/12/27 13:41:50
Line 54 
Line 54 
                 return (cmd_list_keys_table(self, ctx));                  return (cmd_list_keys_table(self, ctx));
   
         width = 0;          width = 0;
         *flags = '\0';  
   
         SPLAY_FOREACH(bd, key_bindings, &key_bindings) {          SPLAY_FOREACH(bd, key_bindings, &key_bindings) {
                 key = key_string_lookup_key(bd->key & ~KEYC_PREFIX);                  key = key_string_lookup_key(bd->key & ~KEYC_PREFIX);
Line 78 
Line 77 
                 if (key == NULL)                  if (key == NULL)
                         continue;                          continue;
   
                   *flags = '\0';
                 if (!(bd->key & KEYC_PREFIX)) {                  if (!(bd->key & KEYC_PREFIX)) {
                         if (bd->can_repeat)                          if (bd->can_repeat)
                                 xsnprintf(flags, sizeof flags, "-rn ");                                  xsnprintf(flags, sizeof flags, "-rn ");

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