-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Console ModuleRelated to the "Console" module inside FileSystemProRelated to the "Console" module inside FileSystemPro
Description
Problem: Users cannot define custom named colors without subclassing or modifying the module.
Why it matters: Branding and user-defined themes require extensibility.
Proposed solution: Accept an optional palette dict in Console.__init__ mapping names to ANSI codes; dynamically create methods (console.myred()) via __getattr__. Validate codes on init.
Notes: Cache dynamic methods; avoid conflicts with built-ins. Document that palette overrides are per-instance only.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Console ModuleRelated to the "Console" module inside FileSystemProRelated to the "Console" module inside FileSystemPro