X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=interactive.h;h=fb39860541fef3c09c74b3bff9031c48e7b7a625;hp=0af2ef40c27e38950654044ceb0770951ff328ef;hb=901f6642a51445accaf88ab80f6bc80757f74149;hpb=6cb789ba07d3830f1d7fbff9daa059eb1c99c166 diff --git a/interactive.h b/interactive.h index 0af2ef40..fb398605 100644 --- a/interactive.h +++ b/interactive.h @@ -59,6 +59,10 @@ struct i9e_client_info { 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. */