[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.42 and 1.43

version 1.42, 2017/02/03 11:57:27 version 1.43, 2017/04/21 14:01:19
Line 81 
Line 81 
                 RB_FOREACH(bd, key_bindings, &table->key_bindings) {                  RB_FOREACH(bd, key_bindings, &table->key_bindings) {
                         key = key_string_lookup_key(bd->key);                          key = key_string_lookup_key(bd->key);
   
                         if (bd->can_repeat)                          if (bd->flags & KEY_BINDING_REPEAT)
                                 repeat = 1;                                  repeat = 1;
   
                         width = utf8_cstrwidth(table->name);                          width = utf8_cstrwidth(table->name);
Line 101 
Line 101 
   
                         if (!repeat)                          if (!repeat)
                                 r = "";                                  r = "";
                         else if (bd->can_repeat)                          else if (bd->flags & KEY_BINDING_REPEAT)
                                 r = "-r ";                                  r = "-r ";
                         else                          else
                                 r = "   ";                                  r = "   ";

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43