aboutsummaryrefslogtreecommitdiff
path: root/termkey-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'termkey-internal.h')
-rw-r--r--termkey-internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/termkey-internal.h b/termkey-internal.h
index c1f4cd6..e277939 100644
--- a/termkey-internal.h
+++ b/termkey-internal.h
@@ -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);
};