aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Allow passing fd = -1 to constructor to make an instance not associated with ↵Paul LeoNerd Evans2012-01-1815-16/+28
| | | | an fd; must use push_bytes to provide it input
* Added termkey_push_bytes(), a new API for providing input bytesPaul LeoNerd Evans2012-01-1811-80/+158
|
* Move the growing collection of manpages into their own man/ subdirectoryPaul LeoNerd Evans2012-01-1818-3/+3
|
* Ensure that termkey_advisereadable() just fails with errno=ENOMEM rather ↵Paul LeoNerd Evans2012-01-182-1/+7
| | | | than trying to read() zero bytes
* Avoid push_bytes() entirely by read()ing directly into tk->bufferPaul LeoNerd Evans2012-01-181-19/+7
|
* Provide new API function to determine how much buffer space remains in the ↵Paul LeoNerd Evans2012-01-185-2/+56
| | | | instance
* Remove termkey_pushinput() from external API; declare static, rename itPaul LeoNerd Evans2012-01-182-4/+2
|
* Bump VERSION to 0.11Paul LeoNerd Evans2011-11-301-3/+3
|
* Minor manpage link fixupsPaul LeoNerd Evans2011-09-292-2/+2
|
* Optionally support unibilium for reading terminfo instead of cursesPaul LeoNerd Evans2011-09-242-6/+48
|
* Abstract out ld flags in MakefilePaul LeoNerd Evans2011-09-231-1/+2
|
* Neaten logic by loading terminfo strings in a separate function from the ↵Paul LeoNerd Evans2011-09-231-18/+26
| | | | constructor
* Bumped VERSION to 0.10Paul LeoNerd Evans2011-09-061-3/+3
|
* Canonicalise (a local copy of) the key structures given to termkey_keycmp() ↵Paul LeoNerd Evans2011-09-063-15/+34
| | | | before comparing them
* A few more DEBUG fprintf(stderr)s at construction timePaul LeoNerd Evans2011-09-051-1/+12
|
* Handle TERMKEY_RES_ERROR in (debugging mode) res2str()Paul LeoNerd Evans2011-09-051-0/+5
|
* Use $(VERSION) to set DISTDIR in Makefile, so make VERSION=... dist ↵Paul LeoNerd Evans2011-09-051-1/+1
| | | | overrides its name
* Allow a flag to convert ASCII DEL into BackspacePaul LeoNerd Evans2011-08-284-1/+27
|
* Move canonicalisation flags into their own bitfield with their own accessor ↵Paul LeoNerd Evans2011-08-287-7/+61
| | | | and named constants
* Remember to symlink termkey_get_flags(3) manpage at install timePaul LeoNerd Evans2011-08-281-0/+1
|
* Provide an explicit termkey_canonicalise() function; canonicalise Space/SP ↵Paul LeoNerd Evans2011-08-277-6/+106
| | | | in both directions
* Deleted legacy type name typedefs and declaration of termkey_snprint_key()Paul LeoNerd Evans2011-08-272-13/+4
|
* Added a unit test to assert the correct behaviour of FLAG_SPACESYMBOL from ↵Paul LeoNerd Evans2011-08-271-0/+41
| | | | waitkey
* <poll.h> on Solaris needs _XOPEN_SOURCE 600 to ensure it gets sigset_t - ↵Paul LeoNerd Evans2011-08-251-0/+3
| | | | Petr Pavlu
* optarg and friends want _XOPEN_SOURCE 600, and <unistd.h> - Petr PavluPaul LeoNerd Evans2011-08-251-1/+4
|
* strdup() needs 'define _XOPEN_SOURCE 600 - Petr PavluPaul LeoNerd Evans2011-08-251-2/+1
|
* Ensure c_cc[VMIN] and c_cc[VTIME] are properly defined, because Solaris ↵Paul LeoNerd Evans2011-08-251-0/+2
| | | | seems not to set them - Petr Pavlu
* Link against -lcurses not -lncurses, because these two might be different on ↵Paul LeoNerd Evans2011-08-251-1/+1
| | | | some OSes (e.g. Solaris) - Petr Pavlu
* Bumped VERSION to 0.9Paul LeoNerd Evans2011-08-251-4/+4
|
* Provide a flag to return RES_ERROR even on signal (EINTR); without it, retry ↵Paul LeoNerd Evans2011-08-255-5/+19
| | | | the operation
* Provide a new result value, TERMKEY_RES_ERROR to indicate an IO error - ↵Paul LeoNerd Evans2011-08-185-11/+41
| | | | preserve errno
* Include a LICENSE filePaul LeoNerd Evans2011-07-012-1/+24
|
* Put LIBDIR and INCDIR directly in termkey.pc; don't indirect via PREFIX as ↵Paul LeoNerd Evans2011-07-012-4/+3
| | | | it might be incorrect
* Mouse position coordinates are unsignedPaul LeoNerd Evans2011-06-161-3/+3
|
* Ignore VDSUSP as a signal-sending key too, if platform defines itPaul LeoNerd Evans2011-05-281-0/+4
|
* sscanf'ing a size_t requires %znPaul LeoNerd Evans2011-05-281-1/+1
|
* Bumped VERSION to 0.8Paul LeoNerd Evans2011-05-241-2/+2
|
* Gracefully ignore read() yielding EINTR rather than bailing outPaul LeoNerd Evans2011-05-241-1/+1
|
* Use _POSIX_VDISABLE rather than hardcoded 0 to disable individual entries in ↵Paul LeoNerd Evans2011-05-241-2/+2
| | | | termios.c_cc; most BSDs use 0xff rather than 0 for this value
* Disable ISIG mode entirely if FLAG_CTRLC is setPaul LeoNerd Evans2011-05-241-3/+7
|
* Also handle new 'fixterms' spec CSI codepoint;modifiers u encodingPaul LeoNerd Evans2011-05-091-0/+6
|
* demo.c needs to enable CTRLC flag to shut down mouse mode on exitPaul LeoNerd Evans2011-04-261-1/+1
|
* Bugfix to termkey_keycmp - implement sense in correct directionPaul LeoNerd Evans2011-04-072-14/+14
|
* Bugfix termkey_strpkey parsing unicode with trailing contentPaul LeoNerd Evans2011-04-072-8/+16
|
* Assert that termkey_strpkey's return points to endofstring after parsePaul LeoNerd Evans2011-04-071-11/+22
|
* Bumped VERSION to 0.7Paul LeoNerd Evans2011-04-071-3/+3
|
* Solaris requires #define _XPG6Paul LeoNerd Evans2011-04-041-0/+1
|
* Refer to strfkey not snprint_key; add links to termkey_keycmpPaul LeoNerd Evans2011-04-043-4/+7
|
* Fixed another couple of typoes in manpagesPaul LeoNerd Evans2011-04-042-2/+2
|
* Various minor neatenings to manpage formattingPaul LeoNerd Evans2011-04-0314-27/+22
|