aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Bugfixes to manpage layout - no need to .br when the demo is pulled in a .nf ↵Paul LeoNerd Evans2011-04-032-4/+4
| | | | anyway; remember to escape slashes
* Provide termkey_keycmp() for sorting purposesPaul LeoNerd Evans2011-04-024-0/+102
|
* Docs fix for termkey_strfkeyPaul LeoNerd Evans2011-04-011-1/+1
|
* Add a couple more 'const' markings to API functions where appropriatePaul LeoNerd Evans2011-04-012-4/+4
|
* Adjust termkey_strpkey() API more like strptime(); return pointer to end of ↵Paul LeoNerd Evans2011-04-014-57/+40
| | | | recognised section, allows for stream parsing
* Provide a termkey_lookup_keyname that can do partial buffer parsingPaul LeoNerd Evans2011-04-016-12/+63
|
* Initial manpage for termkey_strpkeyPaul LeoNerd Evans2011-04-013-2/+42
|
* Ensure strpkey can parse numbered function keysPaul LeoNerd Evans2011-04-013-3/+25
|
* Unicode codepoint is stored in key->code.codepoint, not code.numberPaul LeoNerd Evans2011-04-013-19/+17
|