aboutsummaryrefslogtreecommitdiff
path: root/termkey.c
Commit message (Expand)AuthorAgeFilesLines
* Move to iconvPřemysl Janouch2014-09-281-244/+158
* WIP: Is mine now (^3^)Přemysl Janouch2014-09-231-1249/+1377
* Be a little more lenient in locale env.var. testing for UTF-8nessPaul LeoNerd Evans2014-03-051-1/+8
* Look for .utf8 in locale variables as well as .UTF-8Paul LeoNerd Evans2014-01-231-1/+1
* Look for \.UTF-8 only in the first env. var found from LANG, LC_MESSAGES, LC_ALLPaul LeoNerd Evans2014-01-051-11/+2
* Bugfix to snprint_cameltospaces() when given a short buffer [thanks Romain Ch...Paul LeoNerd Evans2013-08-261-5/+12
* Delete trailing whitespace in codePaul LeoNerd Evans2013-08-261-2/+2
* Fix comment about 'n' in strpncmp_camel()Paul LeoNerd Evans2013-08-261-1/+1
* Added TERMKEY_FORMAT_LOWERSPACE for strpkey() alsoPaul LeoNerd Evans2013-08-261-27/+73
* Added TERMKEY_FORMAT_LOWERSPACE for strfkey() onlyPaul LeoNerd Evans2013-08-261-2/+33
* Added TERMKEY_FORMAT_LOWERMODPaul LeoNerd Evans2013-08-261-2/+8
* Added TERMKEY_FORMAT_SPACEMODPaul LeoNerd Evans2013-08-261-7/+9
* Make some more things 'const' that should bePaul LeoNerd Evans2013-07-151-6/+6
* Make sure to implement newer event types in debug functionPaul LeoNerd Evans2012-12-061-0/+17
* Handle ANSI and DEC mode report CSIsPaul LeoNerd Evans2012-11-301-0/+20
* Moved the other termkey_interpret_*() functions into driver-csi.c where they ...Paul LeoNerd Evans2012-11-301-63/+0
* Return a real key type for unrecognised CSI sequences; allow accessing them b...Paul LeoNerd Evans2012-11-301-0/+11
* Also handle CSI R; position report replies to CSI 6nPaul LeoNerd Evans2012-04-241-0/+27
* Created abstract accessors for getting/setting key event line/col countsPaul LeoNerd Evans2012-04-241-5/+1
* Use spare bits in code.mouse[3] to store bigger mouse positionsPaul LeoNerd Evans2012-04-121-3/+3
* Recognise SGR-style mouse encodingPaul LeoNerd Evans2012-04-121-0/+4
* Extract modifiers for mouse events at peekkey timePaul LeoNerd Evans2012-04-051-4/+9
* Have getkey/waitkey return RES_ERROR/EINVAL if stoppedPaul LeoNerd Evans2012-03-081-0/+5
* Added a termkey_is_started() accessor; unit test it a bitPaul LeoNerd Evans2012-03-081-0/+5
* Move the terminal start/stop code into their own functions, exported (undocum...Paul LeoNerd Evans2012-03-081-47/+77
* Added (undocumented) termkey_set_buffer_size()Paul LeoNerd Evans2012-02-131-0/+12
* Added (undocumented) termkey_get_buffer_size()Paul LeoNerd Evans2012-02-131-0/+5
* Document the errors set by termkey_new(), use errno rather than fprintf() to ...Paul LeoNerd Evans2012-01-291-2/+2
* Created termkey_new_abstract()Paul LeoNerd Evans2012-01-261-0/+18
* Move initialisation logic out of termkey_new into a static functionPaul LeoNerd Evans2012-01-261-39/+46
* Use termkey_set_flags() in constructor rather than copypasted logicPaul LeoNerd Evans2012-01-261-5/+3
* Split termkey_new() into alloc and initialise phasesPaul LeoNerd Evans2012-01-261-30/+41
* Also mark termkey.c's modnames as staticPaul LeoNerd Evans2012-01-221-1/+1
* Handle realloc() failures when registering key namesPaul LeoNerd Evans2012-01-201-2/+5
* sscanf() %zn ought to take a ssize_t *Paul LeoNerd Evans2012-01-201-2/+3
* Allow {start,stop}_driver to fail, abort constructor, have driver-ti try to w...Paul LeoNerd Evans2012-01-201-1/+2
* Allow passing fd = -1 to constructor to make an instance not associated with ...Paul LeoNerd Evans2012-01-181-1/+11
* Added termkey_push_bytes(), a new API for providing input bytesPaul LeoNerd Evans2012-01-181-0/+23
* Ensure that termkey_advisereadable() just fails with errno=ENOMEM rather than...Paul LeoNerd Evans2012-01-181-0/+6
* 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 in...Paul LeoNerd Evans2012-01-181-0/+7
* Remove termkey_pushinput() from external API; declare static, rename itPaul LeoNerd Evans2012-01-181-2/+2
* Canonicalise (a local copy of) the key structures given to termkey_keycmp() b...Paul LeoNerd Evans2011-09-061-12/+18
* 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
* Allow a flag to convert ASCII DEL into BackspacePaul LeoNerd Evans2011-08-281-0/+6
* Move canonicalisation flags into their own bitfield with their own accessor a...Paul LeoNerd Evans2011-08-281-2/+26
* Provide an explicit termkey_canonicalise() function; canonicalise Space/SP in...Paul LeoNerd Evans2011-08-271-6/+23
* Deleted legacy type name typedefs and declaration of termkey_snprint_key()Paul LeoNerd Evans2011-08-271-1/+4
* Ensure c_cc[VMIN] and c_cc[VTIME] are properly defined, because Solaris seems...Paul LeoNerd Evans2011-08-251-0/+2