[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.19 and 1.20

version 1.19, 2012/10/15 21:53:30 version 1.20, 2013/03/22 15:52:40
Line 138 
Line 138 
                         mode = "c";                          mode = "c";
                 cmdstr = mode_key_tostring(mtab->cmdstr, mbind->cmd);                  cmdstr = mode_key_tostring(mtab->cmdstr, mbind->cmd);
                 if (cmdstr != NULL) {                  if (cmdstr != NULL) {
                         ctx->print(ctx, "bind-key -%st %s%s %*s %s",                          ctx->print(ctx, "bind-key -%st %s%s %*s %s%s%s%s",
                             mode, any_mode && *mode == '\0' ? " " : "",                              mode, any_mode && *mode == '\0' ? " " : "",
                             mtab->name, (int) width, key, cmdstr);                              mtab->name, (int) width, key, cmdstr,
                               mbind->arg != NULL ? " \"" : "",
                               mbind->arg != NULL ? mbind->arg : "",
                               mbind->arg != NULL ? "\"": "");
                 }                  }
         }          }
   

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