aboutsummaryrefslogtreecommitdiff
path: root/t
Commit message (Collapse)AuthorAgeFilesLines
* CMake-ify, rename to termkey2 for the time beingPřemysl Janouch2014-10-0917-1361/+0
|
* Make the tests work againPřemysl Janouch2014-09-2817-835/+1029
| | | | Our UTF-8 parsing now behaves differently, though.
* Move to iconvPřemysl Janouch2014-09-282-19/+19
| | | | | | | | | | | 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
* Unit tests should use .code.codepoint/.sym instead of not .code.number when ↵Paul LeoNerd Evans2014-03-054-46/+46
| | | | appropriate
* Bugfix to snprint_cameltospaces() when given a short buffer [thanks Romain ↵Paul LeoNerd Evans2013-08-261-1/+10
| | | | Chossart]
* Added TERMKEY_FORMAT_LOWERSPACE for strpkey() alsoPaul LeoNerd Evans2013-08-261-1/+9
|
* Added TERMKEY_FORMAT_LOWERSPACE for strfkey() onlyPaul LeoNerd Evans2013-08-261-1/+9
|
* Added TERMKEY_FORMAT_LOWERMODPaul LeoNerd Evans2013-08-262-7/+17
|
* Added TERMKEY_FORMAT_SPACEMODPaul LeoNerd Evans2013-08-262-2/+23
|
* Make some more things 'const' that should bePaul LeoNerd Evans2013-07-153-3/+3
|
* Updated shared taplibPaul LeoNerd Evans2013-01-042-3/+17
|
* Handle ANSI and DEC mode report CSIsPaul LeoNerd Evans2012-11-301-0/+41
|
* Only recognise DECCPR as a position report, so it is distinct from F3Paul LeoNerd Evans2012-11-301-1/+1
|
* Try to handle position reports -and- F3 concurrently.. somehow.. arghPaul LeoNerd Evans2012-11-301-1/+11
|
* Also interpret an intermediate CSI byte if presentPaul LeoNerd Evans2012-11-301-2/+9
|
* Unit test that CSI initial command also worksPaul LeoNerd Evans2012-11-301-2/+9
|
* Return a real key type for unrecognised CSI sequences; allow accessing them ↵Paul LeoNerd Evans2012-11-301-0/+32
| | | | by termkey_interpret_csi()
* Bugfix to POSITION reporting - swap line<=>colPaul LeoNerd Evans2012-04-251-2/+2
|
* Ensure that key->type field is properly set for all mouse encoding protocolsPaul LeoNerd Evans2012-04-241-0/+16
|
* Also handle CSI R; position report replies to CSI 6nPaul LeoNerd Evans2012-04-241-0/+28
|
* Always load the CSI driver because it contains cross-terminal mouse and CSI ↵Paul LeoNerd Evans2012-04-242-3/+10
| | | | u handling
* Use spare bits in code.mouse[3] to store bigger mouse positionsPaul LeoNerd Evans2012-04-121-1/+9
|
* Recognise SGR-style mouse encodingPaul LeoNerd Evans2012-04-121-1/+26
|
* Recognise rxvt-style mouse encodingPaul LeoNerd Evans2012-04-121-1/+29
|
* Extract modifiers for mouse events at peekkey timePaul LeoNerd Evans2012-04-051-1/+19
|
* Added a unit test for mouse report eventsPaul LeoNerd Evans2012-04-051-0/+61
|
* Have getkey/waitkey return RES_ERROR/EINVAL if stoppedPaul LeoNerd Evans2012-03-081-1/+7
|
* Added a termkey_is_started() accessor; unit test it a bitPaul LeoNerd Evans2012-03-081-1/+10
|
* Added (undocumented) termkey_set_buffer_size()Paul LeoNerd Evans2012-02-131-0/+32
|
* Added (undocumented) termkey_get_buffer_size()Paul LeoNerd Evans2012-02-131-1/+3
|
* Use termkey_new_abstract() in unit testsPaul LeoNerd Evans2012-01-269-20/+10
|
* \e string escape is not portable; use \033Paul LeoNerd Evans2012-01-182-3/+3
|
* Allow passing fd = -1 to constructor to make an instance not associated with ↵Paul LeoNerd Evans2012-01-189-9/+9
| | | | an fd; must use push_bytes to provide it input
* Added termkey_push_bytes(), a new API for providing input bytesPaul LeoNerd Evans2012-01-184-77/+102
|
* Provide new API function to determine how much buffer space remains in the ↵Paul LeoNerd Evans2012-01-181-1/+25
| | | | instance
* Canonicalise (a local copy of) the key structures given to termkey_keycmp() ↵Paul LeoNerd Evans2011-09-061-1/+13
| | | | before comparing them
* Allow a flag to convert ASCII DEL into BackspacePaul LeoNerd Evans2011-08-281-1/+17
|
* Move canonicalisation flags into their own bitfield with their own accessor ↵Paul LeoNerd Evans2011-08-281-1/+1
| | | | and named constants
* Provide an explicit termkey_canonicalise() function; canonicalise Space/SP ↵Paul LeoNerd Evans2011-08-271-0/+51
| | | | in both directions
* Added a unit test to assert the correct behaviour of FLAG_SPACESYMBOL from ↵Paul LeoNerd Evans2011-08-271-0/+41
| | | | waitkey
* Bugfix to termkey_keycmp - implement sense in correct directionPaul LeoNerd Evans2011-04-071-8/+8
|
* Bugfix termkey_strpkey parsing unicode with trailing contentPaul LeoNerd Evans2011-04-071-1/+9
|
* Assert that termkey_strpkey's return points to endofstring after parsePaul LeoNerd Evans2011-04-071-11/+22
|
* Provide termkey_keycmp() for sorting purposesPaul LeoNerd Evans2011-04-021-0/+50
|
* Adjust termkey_strpkey() API more like strptime(); return pointer to end of ↵Paul LeoNerd Evans2011-04-011-30/+19
| | | | recognised section, allows for stream parsing
* Provide a termkey_lookup_keyname that can do partial buffer parsingPaul LeoNerd Evans2011-04-011-1/+15
|
* Ensure strpkey can parse numbered function keysPaul LeoNerd Evans2011-04-012-2/+21
|
* Unicode codepoint is stored in key->code.codepoint, not code.numberPaul LeoNerd Evans2011-04-012-13/+13
|
* Partial implementation of termkey_strpkey(3); missing FORMAT_WRAPBRACKET and ↵Paul LeoNerd Evans2011-04-011-0/+90
| | | | TYPE_FUNCTION support
* Extract UTF-8 sequence parser into its own function, fix bugs, apply unit testsPaul LeoNerd Evans2011-03-311-1/+92
|