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

Diff for /src/usr.bin/tmux/tty-keys.c between version 1.31 and 1.32

version 1.31, 2010/05/31 19:51:29 version 1.32, 2011/01/01 02:16:25
Line 54 
Line 54 
  * Default key tables. Those flagged with TTYKEY_RAW are inserted directly,   * Default key tables. Those flagged with TTYKEY_RAW are inserted directly,
  * otherwise they are looked up in terminfo(5).   * otherwise they are looked up in terminfo(5).
  */   */
 struct tty_key_ent tty_keys[] = {  const struct tty_key_ent tty_keys[] = {
         /*          /*
          * Numeric keypad. Just use the vt100 escape sequences here and always           * Numeric keypad. Just use the vt100 escape sequences here and always
          * put the terminal into keypad_xmit mode. Translation of numbers           * put the terminal into keypad_xmit mode. Translation of numbers
Line 343 
Line 343 
 void  void
 tty_keys_init(struct tty *tty)  tty_keys_init(struct tty *tty)
 {  {
         struct tty_key_ent      *tke;          const struct tty_key_ent        *tke;
         u_int                    i;          u_int                            i;
         const char              *s;          const char                      *s;
   
         tty->key_tree = NULL;          tty->key_tree = NULL;
         for (i = 0; i < nitems(tty_keys); i++) {          for (i = 0; i < nitems(tty_keys); i++) {

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32