[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.108 and 1.109

version 1.108, 2019/04/02 09:03:39 version 1.109, 2019/04/23 20:40:03
Line 399 
Line 399 
         const struct tty_default_key_raw        *tdkr;          const struct tty_default_key_raw        *tdkr;
         const struct tty_default_key_code       *tdkc;          const struct tty_default_key_code       *tdkc;
         u_int                                    i;          u_int                                    i;
         const char                              *s, *value;          const char                              *s;
         struct options_entry                    *o;          struct options_entry                    *o;
         struct options_array_item               *a;          struct options_array_item               *a;
           union options_value                     *ov;
   
         if (tty->key_tree != NULL)          if (tty->key_tree != NULL)
                 tty_keys_free(tty);                  tty_keys_free(tty);
Line 427 
Line 428 
         if (o != NULL) {          if (o != NULL) {
                 a = options_array_first(o);                  a = options_array_first(o);
                 while (a != NULL) {                  while (a != NULL) {
                         value = options_array_item_value(a);                          ov = options_array_item_value(a);
                         if (value != NULL)                          if (ov != NULL)
                                 tty_keys_add(tty, value, KEYC_USER + i);                                  tty_keys_add(tty, ov->string, KEYC_USER + i);
                         a = options_array_next(a);                          a = options_array_next(a);
                 }                  }
         }          }

Legend:
Removed from v.1.108  
changed lines
  Added in v.1.109