Searched refs:esc_buf (Results 1 – 1 of 1) sorted by relevance
/freebsd/contrib/wpa/src/utils/ |
H A D | edit.c | 553 static void show_esc_buf(const char *esc_buf, char c, int i) in show_esc_buf() argument 556 printf("\rESC buffer '%s' c='%c' [%d]\n", esc_buf, c, i); in show_esc_buf() 764 static char esc_buf[7]; in edit_read_key() local 781 show_esc_buf(esc_buf, c, 0); in edit_read_key() 784 esc_buf[esc++] = c; in edit_read_key() 785 esc_buf[esc] = '\0'; in edit_read_key() 790 if (esc_buf[0] != '[' && esc_buf[0] != 'O') { in edit_read_key() 791 show_esc_buf(esc_buf, c, 1); in edit_read_key() 804 return esc_seq_to_key(esc_buf); in edit_read_key() 807 show_esc_buf(esc_buf, c, 2); in edit_read_key()
|