Skip to content

Releases: magmax/python-readchar

v4.0.1

13 Aug 17:58
Compare
Choose a tag to compare

added

  • key.DELETE as an alias for key.SUPR

v4.0.0

11 Aug 09:29
Compare
Choose a tag to compare

Breaking changes

  • the readkey() function now raises a KeyboardInterupt when CTRL+C is pressed. (but readchar() 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: Coverage Status

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

02 Aug 15:47
Compare
Choose a tag to compare
v4 second preview Pre-release
Pre-release

I fixed the import issue (#88)

v4 preview for Testing

25 Jul 14:07
Compare
Choose a tag to compare
Pre-release

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]

v3.1.0

24 Jul 15:16
Compare
Choose a tag to compare
  • corrected metadata
  • bump yamllint

v3.0.6

24 Jul 15:04
Compare
Choose a tag to compare
  • reverts bad PR #65, which broke BACKSPACE for Linux systems and didn't really fix arrow support on windows
  • actually enabel arrow/special Key support for windows
  • fix BACKSPACE and ENTER for windows

v3.0.5

05 Jan 14:01
7d60cbf
Compare
Choose a tag to compare

Fix Windows problem with backspace and arrows codes.

Attention: this has been reverted!

v3.0.4

16 Mar 06:00
Compare
Choose a tag to compare

rollback to use setraw instead of setcbreak.

v3.0.3

28 Feb 19:59
Compare
Choose a tag to compare

New upload credentials

v3.0.2

28 Feb 19:53
56f7b01
Compare
Choose a tag to compare

Fixes:

  • #53, using setcbreak instead of setraw.
  • Add more key codes as constants.