[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.251 and 1.252

version 1.251, 2018/07/04 12:25:26 version 1.252, 2018/07/16 08:48:22
Line 907 
Line 907 
          * The prefix always takes precedence and forces a switch to the prefix           * The prefix always takes precedence and forces a switch to the prefix
          * table, unless we are already there.           * table, unless we are already there.
          */           */
 retry:  
         key0 = (key & ~KEYC_XTERM);          key0 = (key & ~KEYC_XTERM);
   retry:
         if ((key0 == (key_code)options_get_number(s->options, "prefix") ||          if ((key0 == (key_code)options_get_number(s->options, "prefix") ||
             key0 == (key_code)options_get_number(s->options, "prefix2")) &&              key0 == (key_code)options_get_number(s->options, "prefix2")) &&
             strcmp(table->name, "prefix") != 0) {              strcmp(table->name, "prefix") != 0) {
Line 980 
Line 980 
          * switch the client back to the root table and try again.           * switch the client back to the root table and try again.
          */           */
         log_debug("not found in key table %s", table->name);          log_debug("not found in key table %s", table->name);
           if (key0 != KEYC_ANY) {
                   key0 = KEYC_ANY;
                   goto retry;
           }
         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)) {
                 server_client_set_key_table(c, NULL);                  server_client_set_key_table(c, NULL);

Legend:
Removed from v.1.251  
changed lines
  Added in v.1.252