[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.221 and 1.222

version 1.221, 2017/04/20 15:16:20 version 1.222, 2017/04/21 14:01:19
Line 908 
Line 908 
                  * non-repeating binding was found, stop repeating and try                   * non-repeating binding was found, stop repeating and try
                  * again in the root table.                   * again in the root table.
                  */                   */
                 if ((c->flags & CLIENT_REPEAT) && !bd->can_repeat) {                  if ((c->flags & CLIENT_REPEAT) &&
                       (~bd->flags & KEY_BINDING_REPEAT)) {
                         server_client_set_key_table(c, NULL);                          server_client_set_key_table(c, NULL);
                         c->flags &= ~CLIENT_REPEAT;                          c->flags &= ~CLIENT_REPEAT;
                         server_status_client(c);                          server_status_client(c);
Line 926 
Line 927 
                  * the client back to the root table.                   * the client back to the root table.
                  */                   */
                 xtimeout = options_get_number(s->options, "repeat-time");                  xtimeout = options_get_number(s->options, "repeat-time");
                 if (xtimeout != 0 && bd->can_repeat) {                  if (xtimeout != 0 && (bd->flags & KEY_BINDING_REPEAT)) {
                         c->flags |= CLIENT_REPEAT;                          c->flags |= CLIENT_REPEAT;
   
                         tv.tv_sec = xtimeout / 1000;                          tv.tv_sec = xtimeout / 1000;

Legend:
Removed from v.1.221  
changed lines
  Added in v.1.222