[BACK]Return to server-client.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/server-client.c between version 1.261 and 1.262

version 1.261, 2018/10/18 08:38:01 version 1.262, 2018/11/07 08:06:28
Line 1022 
Line 1022 
         }          }
         flags = c->flags;          flags = c->flags;
   
   try_again:
         /* Log key table. */          /* Log key table. */
         if (wp == NULL)          if (wp == NULL)
                 log_debug("key table %s (no pane)", table->name);                  log_debug("key table %s (no pane)", table->name);
Line 1030 
Line 1031 
         if (c->flags & CLIENT_REPEAT)          if (c->flags & CLIENT_REPEAT)
                 log_debug("currently repeating");                  log_debug("currently repeating");
   
 try_again:  
         /* Try to see if there is a key binding in the current table. */          /* Try to see if there is a key binding in the current table. */
         bd = key_bindings_get(table, key0);          bd = key_bindings_get(table, key0);
         if (bd != NULL) {          if (bd != NULL) {
Line 1041 
Line 1041 
                  */                   */
                 if ((c->flags & CLIENT_REPEAT) &&                  if ((c->flags & CLIENT_REPEAT) &&
                     (~bd->flags & KEY_BINDING_REPEAT)) {                      (~bd->flags & KEY_BINDING_REPEAT)) {
                           log_debug("found in key table %s (not repeating)",
                               table->name);
                         server_client_set_key_table(c, NULL);                          server_client_set_key_table(c, NULL);
                           first = table = c->keytable;
                         c->flags &= ~CLIENT_REPEAT;                          c->flags &= ~CLIENT_REPEAT;
                         server_status_client(c);                          server_status_client(c);
                         table = c->keytable;  
                         goto table_changed;                          goto table_changed;
                 }                  }
                 log_debug("found in key table %s", table->name);                  log_debug("found in key table %s", table->name);
Line 1094 
Line 1096 
         log_debug("not found in key table %s", table->name);          log_debug("not found in key table %s", table->name);
         if (!server_client_is_default_key_table(c, table) ||          if (!server_client_is_default_key_table(c, table) ||
             (c->flags & CLIENT_REPEAT)) {              (c->flags & CLIENT_REPEAT)) {
                   log_debug("trying in root table");
                 server_client_set_key_table(c, NULL);                  server_client_set_key_table(c, NULL);
                   table = c->keytable;
                   if (c->flags & CLIENT_REPEAT)
                           first = table;
                 c->flags &= ~CLIENT_REPEAT;                  c->flags &= ~CLIENT_REPEAT;
                 server_status_client(c);                  server_status_client(c);
                 table = c->keytable;  
                 goto table_changed;                  goto table_changed;
         }          }
   

Legend:
Removed from v.1.261  
changed lines
  Added in v.1.262