[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.53 and 1.54

version 1.53, 2020/04/09 13:56:46 version 1.54, 2020/04/13 08:26:27
Line 144 
Line 144 
 static enum cmd_retval  static enum cmd_retval
 cmd_list_keys_exec(struct cmd *self, struct cmdq_item *item)  cmd_list_keys_exec(struct cmd *self, struct cmdq_item *item)
 {  {
         struct args             *args = self->args;          struct args             *args = cmd_get_args(self);
         struct key_table        *table;          struct key_table        *table;
         struct key_binding      *bd;          struct key_binding      *bd;
         const char              *tablename, *r;          const char              *tablename, *r;
Line 153 
Line 153 
         int                      repeat, width, tablewidth, keywidth, found = 0;          int                      repeat, width, tablewidth, keywidth, found = 0;
         size_t                   tmpsize, tmpused, cplen;          size_t                   tmpsize, tmpused, cplen;
   
         if (self->entry == &cmd_list_commands_entry)          if (cmd_get_entry(self) == &cmd_list_commands_entry)
                 return (cmd_list_keys_commands(self, item));                  return (cmd_list_keys_commands(self, item));
   
         if (args->argc != 0) {          if (args->argc != 0) {
Line 313 
Line 313 
 static enum cmd_retval  static enum cmd_retval
 cmd_list_keys_commands(struct cmd *self, struct cmdq_item *item)  cmd_list_keys_commands(struct cmd *self, struct cmdq_item *item)
 {  {
         struct args              *args = self->args;          struct args              *args = cmd_get_args(self);
         const struct cmd_entry  **entryp;          const struct cmd_entry  **entryp;
         const struct cmd_entry   *entry;          const struct cmd_entry   *entry;
         struct format_tree       *ft;          struct format_tree       *ft;

Legend:
Removed from v.1.53  
changed lines
  Added in v.1.54