term::readkey tests require term env