Releases: magmax/python-readchar
Releases · magmax/python-readchar
v4.0.1
v4.0.0
Breaking changes
- the
readkey()
function now raises aKeyboardInterupt
whenCTRL+C
is pressed. (butreadchar()
can still be used to capture it). This is more inline with the python philosophy (IMHO) and prevents developers from accidentally trapping their users with no option to stop the programm. - the
ESCAPE_SEQUENCES
variable, it's no longer used
fixes
- windows now returns strings instead of bytestrings, same as on linux
- windows now supports most special characters
- swaped LF and CR, as per #69
- windows actually returns CR on ENTER, so the ENTER variable now points to the appropriate existing variable
__all__
should return a list of strings- f5-f12 had wrong codes on linux
- code coverage is much better now:
added
- extensive testing for both windows and linux
- automated workflow that runs the test on both platforms
- more keycodes for windows
- add end-of-line-fixer to pre-commit
- add LICENCE (#44)
- mac OS and FreeBSD run the linux behavior (note in the README that they are not supported but should work)
SHIFT+TAB
support on Linux
removed
- removed python 2.7, 3.4, 3.5 and pypy support
changed
- general cleanup of config and setup files
- bump precommit-hook versions
- simplyfied .yamellinter.yml
- reworked the github actions
v4 second preview
I fixed the import issue (#88)
v4 preview for Testing
this is a preview version of the new v4.0.0 developments for testing. Please feel free to tell us about any issues you encounter with it.
You can use one of this command to install it:
pip install -U --pre readchar==4.0.0.dev0
pip install -U git+https://github.com/magmax/[email protected]