aboutsummaryrefslogtreecommitdiff
path: root/termkey.h.in
Commit message (Collapse)AuthorAgeFilesLines
* CMake-ify, rename to termkey2 for the time beingPřemysl Janouch2014-10-091-272/+0
|
* Move to iconvPřemysl Janouch2014-09-281-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 Janouch2014-09-231-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 Evans2014-03-041-2/+2
| | | | https://github.com/o11c/libtermkey/commit/ddd7b0c5aa10bb62dc2f7673414e9a00f11ff447) [thanks o11c]
* Add TERMKEY_FORMAT_URWID shortcut [thanks Romain Chossart]Paul LeoNerd Evans2013-08-261-0/+2
|
* Delete trailing whitespace in codePaul LeoNerd Evans2013-08-261-1/+1
|
* Added TERMKEY_FORMAT_LOWERSPACE for strfkey() onlyPaul LeoNerd Evans2013-08-261-0/+1
|
* Added TERMKEY_FORMAT_LOWERMODPaul LeoNerd Evans2013-08-261-0/+1
|
* Added TERMKEY_FORMAT_SPACEMODPaul LeoNerd Evans2013-08-261-0/+1
|
* Make some more things 'const' that should bePaul LeoNerd Evans2013-07-151-3/+3
|
* Handle ANSI and DEC mode report CSIsPaul LeoNerd Evans2012-11-301-0/+3
|
* Return a real key type for unrecognised CSI sequences; allow accessing them ↵Paul LeoNerd Evans2012-11-301-1/+6
| | | | by termkey_interpret_csi()
* Also handle CSI R; position report replies to CSI 6nPaul LeoNerd Evans2012-04-241-1/+4
|
* Avoid the underscore in struct _TermKeyPaul LeoNerd Evans2012-03-261-1/+1
|
* Added a termkey_is_started() accessor; unit test it a bitPaul LeoNerd Evans2012-03-081-0/+1
|
* Move the terminal start/stop code into their own functions, exported ↵Paul LeoNerd Evans2012-03-081-0/+3
| | | | (undocumented for now)
* Added (undocumented) termkey_set_buffer_size()Paul LeoNerd Evans2012-02-131-0/+1
|
* Added (undocumented) termkey_get_buffer_size()Paul LeoNerd Evans2012-02-131-0/+2
|
* Created termkey_new_abstract()Paul LeoNerd Evans2012-01-261-0/+1
|
* Delete trailing comma in enum{} to keep C++ happyPaul LeoNerd Evans2012-01-181-1/+1
|
* Use only C89 commenting style in .h file, in case of C89 compilers or ↵Paul LeoNerd Evans2012-01-181-27/+27
| | | | similar that want to link
* Added termkey_push_bytes(), a new API for providing input bytesPaul LeoNerd Evans2012-01-181-0/+2
|
* Provide new API function to determine how much buffer space remains in the ↵Paul LeoNerd Evans2012-01-181-0/+2
| | | | instance
* Remove termkey_pushinput() from external API; declare static, rename itPaul LeoNerd Evans2012-01-181-2/+0
|
* Allow a flag to convert ASCII DEL into BackspacePaul LeoNerd Evans2011-08-281-0/+1
|
* Move canonicalisation flags into their own bitfield with their own accessor ↵Paul LeoNerd Evans2011-08-281-1/+8
| | | | and named constants
* Provide an explicit termkey_canonicalise() function; canonicalise Space/SP ↵Paul LeoNerd Evans2011-08-271-0/+2
| | | | in both directions
* Deleted legacy type name typedefs and declaration of termkey_snprint_key()Paul LeoNerd Evans2011-08-271-12/+0
|
* Provide a flag to return RES_ERROR even on signal (EINTR); without it, retry ↵Paul LeoNerd Evans2011-08-251-1/+2
| | | | the operation
* Provide a new result value, TERMKEY_RES_ERROR to indicate an IO error - ↵Paul LeoNerd Evans2011-08-181-1/+2
| | | | preserve errno
* Provide termkey_keycmp() for sorting purposesPaul LeoNerd Evans2011-04-021-0/+2
|
* Add a couple more 'const' markings to API functions where appropriatePaul LeoNerd Evans2011-04-011-2/+2
|
* Adjust termkey_strpkey() API more like strptime(); return pointer to end of ↵Paul LeoNerd Evans2011-04-011-2/+2
| | | | recognised section, allows for stream parsing
* Provide a termkey_lookup_keyname that can do partial buffer parsingPaul LeoNerd Evans2011-04-011-2/+3
|
* Partial implementation of termkey_strpkey(3); missing FORMAT_WRAPBRACKET and ↵Paul LeoNerd Evans2011-04-011-1/+2
| | | | TYPE_FUNCTION support
* Renamed snprint_key() to strfkey(); provide redirection trampolinePaul LeoNerd Evans2011-03-311-0/+3
|
* Minor whitespace fixes in termkey.h.inPaul LeoNerd Evans2011-03-311-8/+8
|
* Provide guarded extern "C" { ... } wrapper for C++ compilersPaul LeoNerd Evans2011-03-301-0/+8
|
* C++ compilers don't like trailing commas in enums; remove themPaul LeoNerd Evans2011-03-301-6/+7
|
* Don't steal Ctrl-C from the kernel by default (so leave SIGINT enabled); add ↵Paul LeoNerd Evans2011-03-231-0/+1
| | | | a flag to take it if required
* Interpret space as Unicode by default, add a flag to make it symbolic insteadPaul LeoNerd Evans2011-03-231-1/+2
|
* Allow formatting the mouse position when rendering an event to a stringPaul LeoNerd Evans2009-11-271-0/+2
|
* Return opaque mouse events in the key structure; add a function to interpret ↵Paul LeoNerd Evans2009-11-271-4/+12
| | | | this into its component fields
* Public interface for MOUSE supportPaul LeoNerd Evans2009-11-241-1/+6
|
* Renamed all type names to CamelCaseNames for visual distinctness, separate ↵Paul LeoNerd Evans2009-07-151-29/+36
| | | | from variables/functions
* Added termkey_keyname2sym() to APIPaul LeoNerd Evans2008-12-021-0/+2
|
* Added termkey_get_fd() to APIPaul LeoNerd Evans2008-12-011-0/+2
|
* Added compile-vs-runtime library version checksPaul LeoNerd Evans2008-11-161-0/+5
|
* Store major and minor version number in Makefile; substitute #defines in ↵Paul LeoNerd Evans2008-11-161-0/+165
termkey.h at build time