Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | CMake-ify, rename to termkey2 for the time being | Přemysl Janouch | 2014-10-09 | 1 | -272/+0 |
| | |||||
* | Move to iconv | Přemysl Janouch | 2014-09-28 | 1 | -22/+36 |
| | | | | | | | | | | | That is the major change in this commit. Also Ctrl-modified keys now should work in URxvt, which was surprisingly trivial to achieve. Coming up next: - making sure the tests still work - introducing CMake | ||||
* | WIP: Is mine now (^3^) | Přemysl Janouch | 2014-09-23 | 1 | -199/+217 |
| | | | | | | | | | | | | | | | | Seriously though, I've got some issues with how this thing is designed, as well as with its formatting, and when you add the fact that the original author wants to merge this thing into his bigger library that also handles terminal output, which I'll kindly leave to ncurses, it kind of makes sense for me to do this. Manpages have been removed as they are going to become obsolete and they're rather difficult to maintain. If anything, there will be Doxygen-generated documentation. The plan is to throw away any direct UTF-8 support and support all uni- and multibyte character encodings. However some unrelated refactoring is about to come first. | ||||
* | Make header compatible with C++ (from ↵ | Paul LeoNerd Evans | 2014-03-04 | 1 | -2/+2 |
| | | | | https://github.com/o11c/libtermkey/commit/ddd7b0c5aa10bb62dc2f7673414e9a00f11ff447) [thanks o11c] | ||||
* | Add TERMKEY_FORMAT_URWID shortcut [thanks Romain Chossart] | Paul LeoNerd Evans | 2013-08-26 | 1 | -0/+2 |
| | |||||
* | Delete trailing whitespace in code | Paul LeoNerd Evans | 2013-08-26 | 1 | -1/+1 |
| | |||||
* | Added TERMKEY_FORMAT_LOWERSPACE for strfkey() only | Paul LeoNerd Evans | 2013-08-26 | 1 | -0/+1 |
| | |||||
* | Added TERMKEY_FORMAT_LOWERMOD | Paul LeoNerd Evans | 2013-08-26 | 1 | -0/+1 |
| | |||||
* | Added TERMKEY_FORMAT_SPACEMOD | Paul LeoNerd Evans | 2013-08-26 | 1 | -0/+1 |
| | |||||
* | Make some more things 'const' that should be | Paul LeoNerd Evans | 2013-07-15 | 1 | -3/+3 |
| | |||||
* | Handle ANSI and DEC mode report CSIs | Paul LeoNerd Evans | 2012-11-30 | 1 | -0/+3 |
| | |||||
* | Return a real key type for unrecognised CSI sequences; allow accessing them ↵ | Paul LeoNerd Evans | 2012-11-30 | 1 | -1/+6 |
| | | | | by termkey_interpret_csi() | ||||
* | Also handle CSI R; position report replies to CSI 6n | Paul LeoNerd Evans | 2012-04-24 | 1 | -1/+4 |
| | |||||
* | Avoid the underscore in struct _TermKey | Paul LeoNerd Evans | 2012-03-26 | 1 | -1/+1 |
| | |||||
* | Added a termkey_is_started() accessor; unit test it a bit | Paul LeoNerd Evans | 2012-03-08 | 1 | -0/+1 |
| | |||||
* | Move the terminal start/stop code into their own functions, exported ↵ | Paul LeoNerd Evans | 2012-03-08 | 1 | -0/+3 |
| | | | | (undocumented for now) | ||||
* | Added (undocumented) termkey_set_buffer_size() | Paul LeoNerd Evans | 2012-02-13 | 1 | -0/+1 |
| | |||||
* | Added (undocumented) termkey_get_buffer_size() | Paul LeoNerd Evans | 2012-02-13 | 1 | -0/+2 |
| | |||||
* | Created termkey_new_abstract() | Paul LeoNerd Evans | 2012-01-26 | 1 | -0/+1 |
| | |||||
* | Delete trailing comma in enum{} to keep C++ happy | Paul LeoNerd Evans | 2012-01-18 | 1 | -1/+1 |
| | |||||
* | Use only C89 commenting style in .h file, in case of C89 compilers or ↵ | Paul LeoNerd Evans | 2012-01-18 | 1 | -27/+27 |
| | | | | similar that want to link | ||||
* | Added termkey_push_bytes(), a new API for providing input bytes | Paul LeoNerd Evans | 2012-01-18 | 1 | -0/+2 |
| | |||||
* | Provide new API function to determine how much buffer space remains in the ↵ | Paul LeoNerd Evans | 2012-01-18 | 1 | -0/+2 |
| | | | | instance | ||||
* | Remove termkey_pushinput() from external API; declare static, rename it | Paul LeoNerd Evans | 2012-01-18 | 1 | -2/+0 |
| | |||||
* | Allow a flag to convert ASCII DEL into Backspace | Paul LeoNerd Evans | 2011-08-28 | 1 | -0/+1 |
| | |||||
* | Move canonicalisation flags into their own bitfield with their own accessor ↵ | Paul LeoNerd Evans | 2011-08-28 | 1 | -1/+8 |
| | | | | and named constants | ||||
* | Provide an explicit termkey_canonicalise() function; canonicalise Space/SP ↵ | Paul LeoNerd Evans | 2011-08-27 | 1 | -0/+2 |
| | | | | in both directions | ||||
* | Deleted legacy type name typedefs and declaration of termkey_snprint_key() | Paul LeoNerd Evans | 2011-08-27 | 1 | -12/+0 |
| | |||||
* | Provide a flag to return RES_ERROR even on signal (EINTR); without it, retry ↵ | Paul LeoNerd Evans | 2011-08-25 | 1 | -1/+2 |
| | | | | the operation | ||||
* | Provide a new result value, TERMKEY_RES_ERROR to indicate an IO error - ↵ | Paul LeoNerd Evans | 2011-08-18 | 1 | -1/+2 |
| | | | | preserve errno | ||||
* | Provide termkey_keycmp() for sorting purposes | Paul LeoNerd Evans | 2011-04-02 | 1 | -0/+2 |
| | |||||
* | Add a couple more 'const' markings to API functions where appropriate | Paul LeoNerd Evans | 2011-04-01 | 1 | -2/+2 |
| | |||||
* | Adjust termkey_strpkey() API more like strptime(); return pointer to end of ↵ | Paul LeoNerd Evans | 2011-04-01 | 1 | -2/+2 |
| | | | | recognised section, allows for stream parsing | ||||
* | Provide a termkey_lookup_keyname that can do partial buffer parsing | Paul LeoNerd Evans | 2011-04-01 | 1 | -2/+3 |
| | |||||
* | Partial implementation of termkey_strpkey(3); missing FORMAT_WRAPBRACKET and ↵ | Paul LeoNerd Evans | 2011-04-01 | 1 | -1/+2 |
| | | | | TYPE_FUNCTION support | ||||
* | Renamed snprint_key() to strfkey(); provide redirection trampoline | Paul LeoNerd Evans | 2011-03-31 | 1 | -0/+3 |
| | |||||
* | Minor whitespace fixes in termkey.h.in | Paul LeoNerd Evans | 2011-03-31 | 1 | -8/+8 |
| | |||||
* | Provide guarded extern "C" { ... } wrapper for C++ compilers | Paul LeoNerd Evans | 2011-03-30 | 1 | -0/+8 |
| | |||||
* | C++ compilers don't like trailing commas in enums; remove them | Paul LeoNerd Evans | 2011-03-30 | 1 | -6/+7 |
| | |||||
* | Don't steal Ctrl-C from the kernel by default (so leave SIGINT enabled); add ↵ | Paul LeoNerd Evans | 2011-03-23 | 1 | -0/+1 |
| | | | | a flag to take it if required | ||||
* | Interpret space as Unicode by default, add a flag to make it symbolic instead | Paul LeoNerd Evans | 2011-03-23 | 1 | -1/+2 |
| | |||||
* | Allow formatting the mouse position when rendering an event to a string | Paul LeoNerd Evans | 2009-11-27 | 1 | -0/+2 |
| | |||||
* | Return opaque mouse events in the key structure; add a function to interpret ↵ | Paul LeoNerd Evans | 2009-11-27 | 1 | -4/+12 |
| | | | | this into its component fields | ||||
* | Public interface for MOUSE support | Paul LeoNerd Evans | 2009-11-24 | 1 | -1/+6 |
| | |||||
* | Renamed all type names to CamelCaseNames for visual distinctness, separate ↵ | Paul LeoNerd Evans | 2009-07-15 | 1 | -29/+36 |
| | | | | from variables/functions | ||||
* | Added termkey_keyname2sym() to API | Paul LeoNerd Evans | 2008-12-02 | 1 | -0/+2 |
| | |||||
* | Added termkey_get_fd() to API | Paul LeoNerd Evans | 2008-12-01 | 1 | -0/+2 |
| | |||||
* | Added compile-vs-runtime library version checks | Paul LeoNerd Evans | 2008-11-16 | 1 | -0/+5 |
| | |||||
* | Store major and minor version number in Makefile; substitute #defines in ↵ | Paul LeoNerd Evans | 2008-11-16 | 1 | -0/+165 |
termkey.h at build time |