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

Diff for /src/usr.bin/tmux/key-string.c between version 1.66 and 1.67

version 1.66, 2021/06/10 07:21:09 version 1.67, 2021/06/10 07:38:28
Line 238 
Line 238 
         }          }
   
         /* Convert the standard control keys. */          /* Convert the standard control keys. */
         if (key < KEYC_BASE &&          if (key <= 127 &&
             (modifiers & KEYC_CTRL) &&              (modifiers & KEYC_CTRL) &&
             strchr(other, key) == NULL &&              strchr(other, key) == NULL &&
             key != 9 &&              key != 9 &&
Line 368 
Line 368 
                 goto out;                  goto out;
         }          }
   
         /* Is this a UTF-8 key? */          /* Is this a Unicode key? */
         if (key > 127 && key < KEYC_BASE) {          if (KEYC_IS_UNICODE(key)) {
                 utf8_to_data(key, &ud);                  utf8_to_data(key, &ud);
                 off = strlen(out);                  off = strlen(out);
                 memcpy(out + off, ud.data, ud.size);                  memcpy(out + off, ud.data, ud.size);

Legend:
Removed from v.1.66  
changed lines
  Added in v.1.67