From 5cd5830263f7d6dd5d0259cb4ffeed3f721da339 Mon Sep 17 00:00:00 2001 From: Elliana May Date: Thu, 5 Mar 2026 14:34:37 +1100 Subject: [PATCH 1/2] Add android as supported platform --- readchar/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readchar/__init__.py b/readchar/__init__.py index d7d4165..ec7901a 100644 --- a/readchar/__init__.py +++ b/readchar/__init__.py @@ -11,7 +11,7 @@ from ._config import config -if platform.startswith(("linux", "darwin", "freebsd", "openbsd")): +if platform.startswith(("linux", "darwin", "freebsd", "openbsd", "android")): from . import _posix_key as key from ._posix_read import readchar, readkey elif platform in ("win32", "cygwin"): From cefe8a0bef36e220b11f86d5f7de410120ed34f7 Mon Sep 17 00:00:00 2001 From: Elliana May Date: Thu, 2 Apr 2026 15:28:35 +0800 Subject: [PATCH 2/2] list termux as an untested platform in README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 2b268fc..e1eb234 100644 --- a/README.md +++ b/README.md @@ -115,6 +115,7 @@ Some operating systems are enabled, but not actively tested or supported: - macOS - FreeBSD / OpenBSD +- Termux Theoretically every Unix based system should work, but they will not be actively tested. It is also required that somebody provides initial test results before the OS is enabled