Lines Matching defs:param1
646 static enum edit_key_code esc_seq_to_key1(int param1, int param2, char last)
648 /* ESC-[<param1>;<param2><last> */
650 if (param1 < 0 && param2 < 0)
653 if (param1 == 1 && param2 == 2)
656 if (param1 == 1 && param2 == 3)
659 if (param1 == 1 && param2 == 4)
662 if (param1 == 1 && param2 == 5)
668 switch (param1) {
700 static enum edit_key_code esc_seq_to_key2(int param1, int param2, char last)
702 /* ESC-O<param1>;<param2><last> */
704 if (param1 >= 0 || param2 >= 0)
729 int param1 = -1, param2 = -1;
737 param1 = atoi(&seq[1]);
744 ret = esc_seq_to_key1(param1, param2, last);
746 ret = esc_seq_to_key2(param1, param2, last);