int loglevel;
/** Complete input lines are passed to this callback function. */
int (*line_handler)(char *line);
+ /** In single key mode, this callback is executed instead. */
+ int (*key_handler)(int key);
+ /** The array of valid key sequences for libreadline. */
+ char **bound_keyseqs;
/** File descriptors to use for input/output/log. */
int fds[3];
/** Text of the current prompt. */