diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2008-10-09 20:23:45 +0100 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2008-10-09 20:23:45 +0100 |
commit | 05639c477367fa436ef33a0a4dc5fc37215acd94 (patch) | |
tree | 39397ecf384a611af004b6b393fefbf7492b92a6 /termkey-internal.h | |
parent | a61b916c18f6997a76186609e0697bd893865412 (diff) | |
download | termo-05639c477367fa436ef33a0a4dc5fc37215acd94.tar.gz termo-05639c477367fa436ef33a0a4dc5fc37215acd94.tar.xz termo-05639c477367fa436ef33a0a4dc5fc37215acd94.zip |
Pass 'term' string into new_driver virtual method; have drivers sensitive to it and return NULL if they can't handle. Try CSI driver first; only for xterm-alikes
Diffstat (limited to 'termkey-internal.h')
-rw-r--r-- | termkey-internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/termkey-internal.h b/termkey-internal.h index 6cc64f9..fd865cd 100644 --- a/termkey-internal.h +++ b/termkey-internal.h @@ -8,7 +8,7 @@ struct termkey_driver { - void *(*new_driver)(termkey_t *tk); + void *(*new_driver)(termkey_t *tk, const char *term); void (*free_driver)(void *); termkey_result (*getkey)(termkey_t *tk, termkey_key *key, int force); }; |