This would allow a lot of code to be removed: - context managers for cbreak etc. - way better key naming scheme! Need to make sure it covers as much ground, or is extensible
This would allow a lot of code to be removed: