Home | History | Annotate | Download | only in utils

Lines Matching full:param1

635 static enum edit_key_code esc_seq_to_key1(int param1, int param2, char last)
637 /* ESC-[<param1>;<param2><last> */
639 if (param1 < 0 && param2 < 0)
642 if (param1 == 1 && param2 == 2)
645 if (param1 == 1 && param2 == 3)
648 if (param1 == 1 && param2 == 4)
651 if (param1 == 1 && param2 == 5)
657 switch (param1) {
689 static enum edit_key_code esc_seq_to_key2(int param1, int param2, char last)
691 /* ESC-O<param1>;<param2><last> */
693 if (param1 >= 0 || param2 >= 0)
718 int param1 = -1, param2 = -1;
726 param1 = atoi(&seq[1]);
733 ret = esc_seq_to_key1(param1, param2, last);
735 ret = esc_seq_to_key2(param1, param2, last);