Allow {start,stop}_driver to fail, abort constructor, have driver-ti try to write the entire start/stop string or error out on -1
This commit is contained in:
@@ -11,8 +11,8 @@ struct TermKeyDriver
|
||||
const char *name;
|
||||
void *(*new_driver)(TermKey *tk, const char *term);
|
||||
void (*free_driver)(void *info);
|
||||
void (*start_driver)(TermKey *tk, void *info);
|
||||
void (*stop_driver)(TermKey *tk, void *info);
|
||||
int (*start_driver)(TermKey *tk, void *info);
|
||||
int (*stop_driver)(TermKey *tk, void *info);
|
||||
TermKeyResult (*peekkey)(TermKey *tk, void *info, TermKeyKey *key, int force, size_t *nbytes);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user