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

Diff for /src/usr.bin/tmux/input-keys.c between version 1.64 and 1.65

version 1.64, 2019/07/09 14:03:12 version 1.65, 2019/11/14 07:55:01
Line 43 
Line 43 
 };  };
   
 static const struct input_key_ent input_keys[] = {  static const struct input_key_ent input_keys[] = {
         /* Backspace key. */  
         { KEYC_BSPACE,          "\177",         0 },  
   
         /* Paste keys. */          /* Paste keys. */
         { KEYC_PASTE_START,     "\033[200~",    0 },          { KEYC_PASTE_START,     "\033[200~",    0 },
         { KEYC_PASTE_END,       "\033[201~",    0 },          { KEYC_PASTE_END,       "\033[201~",    0 },
Line 178 
Line 175 
                 ud.data[0] = (u_char)key;                  ud.data[0] = (u_char)key;
                 bufferevent_write(wp->event, &ud.data[0], 1);                  bufferevent_write(wp->event, &ud.data[0], 1);
                 return;                  return;
           }
   
           /* Is this backspace? */
           if ((key & KEYC_MASK_KEY) == KEYC_BSPACE) {
                   key = options_get_number(global_options, "backspace");
                   if (key >= 0x7f)
                           key = '\177';
         }          }
   
         /*          /*

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