Skip to content

v4.0.0

Compare
Choose a tag to compare
@Cube707 Cube707 released this 11 Aug 09:29
· 66 commits to master since this release

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