Skip to content

Update main.py#2605

Open
ahmhabib01 wants to merge 1 commit intoDatalux:masterfrom
ahmhabib01:patch-1
Open

Update main.py#2605
ahmhabib01 wants to merge 1 commit intoDatalux:masterfrom
ahmhabib01:patch-1

Conversation

@ahmhabib01
Copy link

🔍 What Changed
Change Description
🧹 Removed duplicates no more double signal.signal or readline setup 🧠 Smart readline import automatically uses pyreadline3 on Windows / Termux ✅ Works in Termux uses built-in readline, safe fallback if not found 💡 Unified prompt consistent colorized “Run a command:” prompt 📘 Clean help single cmdlist() for all command descriptions 🛑 Safer exit _quit() and signal handler unified
⚙️ Maintains all original features all API and command calls unchanged

🔍 What Changed
Change	Description
🧹 Removed duplicates	no more double signal.signal or readline setup
🧠 Smart readline import	automatically uses pyreadline3 on Windows / Termux
✅ Works in Termux	uses built-in readline, safe fallback if not found
💡 Unified prompt	consistent colorized “Run a command:” prompt
📘 Clean help	single cmdlist() for all command descriptions
🛑 Safer exit	_quit() and signal handler unified
⚙️ Maintains all original features	all API and command calls unchanged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant