Commit Graph

19 Commits

Author SHA1 Message Date
Paul LeoNerd Evans ad7d31ead8 Provide termkey_keycmp() for sorting purposes 2011-04-02 15:07:30 +01:00
Paul LeoNerd Evans d6d74d252f Add a couple more 'const' markings to API functions where appropriate 2011-04-01 13:55:36 +01:00
Paul LeoNerd Evans 88230407fe Adjust termkey_strpkey() API more like strptime(); return pointer to end of recognised section, allows for stream parsing 2011-04-01 13:49:20 +01:00
Paul LeoNerd Evans dbb13defb7 Provide a termkey_lookup_keyname that can do partial buffer parsing 2011-04-01 13:26:54 +01:00
Paul LeoNerd Evans 6424282c4d Partial implementation of termkey_strpkey(3); missing FORMAT_WRAPBRACKET and TYPE_FUNCTION support 2011-04-01 00:50:51 +01:00
Paul LeoNerd Evans 26ef76349e Renamed snprint_key() to strfkey(); provide redirection trampoline 2011-03-31 11:08:43 +01:00
Paul LeoNerd Evans 280047e745 Minor whitespace fixes in termkey.h.in 2011-03-31 11:06:21 +01:00
Paul LeoNerd Evans 824e7e157a Provide guarded extern "C" { ... } wrapper for C++ compilers 2011-03-30 20:32:51 +01:00
Paul LeoNerd Evans f93587a4c7 C++ compilers don't like trailing commas in enums; remove them 2011-03-30 20:31:26 +01:00
Paul LeoNerd Evans 9f0ef4953d Don't steal Ctrl-C from the kernel by default (so leave SIGINT enabled); add a flag to take it if required 2011-03-23 23:20:24 +00:00
Paul LeoNerd Evans a71f68dd57 Interpret space as Unicode by default, add a flag to make it symbolic instead 2011-03-23 22:17:25 +00:00
Paul LeoNerd Evans ba0c32e8d8 Allow formatting the mouse position when rendering an event to a string 2009-11-27 15:07:05 +00:00
Paul LeoNerd Evans 24f9711846 Return opaque mouse events in the key structure; add a function to interpret this into its component fields 2009-11-27 14:36:29 +00:00
Paul LeoNerd Evans 2ba9849ab5 Public interface for MOUSE support 2009-11-24 01:22:55 +00:00
Paul LeoNerd Evans be998cef1b Renamed all type names to CamelCaseNames for visual distinctness, separate from variables/functions 2009-07-15 20:40:44 +01:00
Paul LeoNerd Evans 2fba93b690 Added termkey_keyname2sym() to API 2008-12-02 00:56:43 +00:00
Paul LeoNerd Evans f75bdf1516 Added termkey_get_fd() to API 2008-12-01 22:36:14 +00:00
Paul LeoNerd Evans 4f73b850c5 Added compile-vs-runtime library version checks 2008-11-16 12:40:14 +00:00
Paul LeoNerd Evans c2dd9675d6 Store major and minor version number in Makefile; substitute #defines in termkey.h at build time 2008-11-16 12:28:38 +00:00