summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update READMEHEADmasterWilliam Holland2015-06-071-3/+42
|
* Make sure all methods of KeyCombination copy argsWilliam Holland2015-06-071-3/+10
| | | | | I'm not sure how nessesary this is but better safe than sorry and better explicit of intention
* Add some explanation to functions in __init__William Holland2015-06-071-3/+11
|
* Remove duplicate definition of ESCWilliam Holland2015-06-071-3/+1
|
* Add explanation of what key_codes is forWilliam Holland2015-06-071-0/+4
|
* Fix queue keypresses being broken by renameWilliam Holland2015-06-071-2/+2
|
* Update READMEWilliam Holland2015-06-071-12/+7
|
* Rename set_to_read_key and reset for clarityWilliam Holland2015-06-071-4/+4
| | | | To init and close
* Fix key_codes_table loading each time parser calledWilliam Holland2015-06-071-11/+11
| | | | By loading it when key.py is imported
* Allow table formatter to parse Ctrl and ShiftWilliam Holland2015-06-041-5/+17
|
* Put all codes in one tableWilliam Holland2015-06-041-5/+21
| | | | This makes it clearer for the would-be editor
* Remove old tablesWilliam Holland2015-06-041-63/+8
|
* Use new table when parsingWilliam Holland2015-06-041-10/+17
|
* Fix equality not working for Key and KeyCombinationWilliam Holland2015-06-041-3/+4
|
* Add dict of my escape codesWilliam Holland2015-06-031-0/+32
|
* Add function to produce dict of KeyCombinationsWilliam Holland2015-06-031-0/+7
| | | | | This is so that an easily configured dict can be seen by somebody looking at the code.
* Fix returning escape codes too early bugWilliam Holland2015-06-031-1/+1
|
* Optimise non-escape code sequencesWilliam Holland2015-06-021-3/+11
| | | | Don't wait for more input if not as escape code
* Add get_repeat() to get repeat delay and rateWilliam Holland2015-06-021-2/+15
|
* Fix VMIN and VTIME not getting setWilliam Holland2015-06-021-2/+3
|
* Add echo, noecho, cbreak and nocbreakWilliam Holland2015-06-011-4/+25
| | | | To make more like curses for familiarity
* Fix bool not working for KeyCombinationWilliam Holland2015-06-011-1/+4
|
* Remove unnessesary .keys()William Holland2015-06-011-1/+1
| | | | | I have learned that if you say 'if foo in my_dict:' then it will implicitly look at keys
* Remove __str__ method from Key and KeyCombinationWilliam Holland2015-06-011-10/+9
| | | | As it could result in confusing when debugging
* Give Key and KeyCombination boolean valuesWilliam Holland2015-05-311-0/+6
|
* Add commentsWilliam Holland2015-05-311-2/+14
|
* Remove unnessesary lineWilliam Holland2015-05-311-3/+1
|
* Fix escape not workingWilliam Holland2015-05-301-2/+1
|
* Fix KeyCombination name only working onceWilliam Holland2015-05-301-1/+1
| | | | because python is silly
* Make Key and KeyCombination comparibleWilliam Holland2015-05-301-2/+4
|
* Make match_start_in_table privateWilliam Holland2015-05-301-3/+3
|
* Fix alt O and alt [ not workingWilliam Holland2015-05-301-1/+4
|
* Fix alt alpha not getting alphaWilliam Holland2015-05-301-23/+18
|
* Make sorting keys in KeyCombination consitentWilliam Holland2015-05-301-3/+2
|
* Remove a couple of newlinesWilliam Holland2015-05-301-4/+2
|
* Remove unneeded forkWilliam Holland2015-05-301-4/+1
|
* Clean up a bitWilliam Holland2015-05-301-2/+2
| | | | Because KeyCombination doesn't need to take a Key
* let KeyCombination take key as stringWilliam Holland2015-05-301-40/+44
| | | | This makes the tables much neater
* Check for ctrl+alpha after special charsWilliam Holland2015-05-301-7/+3
| | | | so that is_ctrl_alpha doesn't have to check
* Update parse_code helpWilliam Holland2015-05-301-1/+1
|
* Move adding keys to to_return to endWilliam Holland2015-05-301-10/+6
| | | | This removes a few lines of code
* Move repeated regex to functionWilliam Holland2015-05-301-24/+21
|
* Put all [ codes in the tableWilliam Holland2015-05-301-29/+30
| | | | this means none are hidden by the regex
* Make O codes use regexWilliam Holland2015-05-301-17/+20
| | | | This means all the codes can be put in the table and none are hidden
* Clean parse_key by using popWilliam Holland2015-05-301-30/+28
| | | | Rather than lots of list indexing
* Fix multiple keypresses sometimes not workingWilliam Holland2015-05-301-11/+26
|
* Remove obsolete methods from Key and add __hash__William Holland2015-05-301-55/+6
|
* Make parsing use new class and tablesWilliam Holland2015-05-301-7/+69
|
* Add smaller tables to replace _tableWilliam Holland2015-05-301-0/+37
| | | | | This will allow for a lookup of a string of many keys being pressed at once
* Add KeyCombination objectWilliam Holland2015-05-301-0/+58
| | | | | This will allow for more complex keypresses, such as multiple alphabetic keys at once