new first parameter to the first character of the sequence
instead of putting that character back and reading the entire
sequence afterwards. (DLR)
+ get_escape_seq_kbinput()
+ - Make the escape_seq parameter a const int*, since it's never
+ modified. (DLR)
get_verbatim_kbinput()
- Add new parameter first. If first isn't ERR, make it the
first character in the returned sequence instead of reading
#endif
);
int get_control_kbinput(int kbinput);
-int get_escape_seq_kbinput(int *escape_seq, size_t es_len, bool
+int get_escape_seq_kbinput(const int *escape_seq, size_t es_len, bool
*ignore_seq);
int get_escape_seq_abcd(int kbinput);
int *get_verbatim_kbinput(WINDOW *win, int first, int *v_kbinput, size_t
* ERR and set ignore_seq to TRUE; if it's unrecognized, return ERR and
* set ignore_seq to FALSE. Assume that Escape has already been read
* in. */
-int get_escape_seq_kbinput(int *escape_seq, size_t es_len, bool
+int get_escape_seq_kbinput(const int *escape_seq, size_t es_len, bool
*ignore_seq)
{
int retval = ERR;