[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.64 and 1.65

version 1.64, 2021/04/07 07:30:02 version 1.65, 2021/04/07 15:46:12
Line 239 
Line 239 
   
         /* Convert the standard control keys. */          /* Convert the standard control keys. */
         if (key < KEYC_BASE && (modifiers & KEYC_CTRL) &&          if (key < KEYC_BASE && (modifiers & KEYC_CTRL) &&
             strchr(other, key) == NULL &&              strchr(other, key) == NULL) {
             (key < 64 || key > 95)) {  
                 if (key >= 97 && key <= 122)                  if (key >= 97 && key <= 122)
                         key -= 96;                          key -= 96;
                   else if (key >= 64 && key <= 95)
                          key -= 64;
                 else if (key == 32)                  else if (key == 32)
                         key = 0;                          key = 0;
                 else if (key == 63)                  else if (key == 63)

Legend:
Removed from v.1.64  
changed lines
  Added in v.1.65