-
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: Styles persist if exceptions occur before RESET_ALL is emitted.
Why it matters: Prevents “leaking” colors/styles in logs and complex output flows.
Proposed solution: Add with console.suspend(): ... that guarantees RESET_ALL on exit (even on exceptions). Internally, store current state and restore/reset around the block.
Notes: Ensure nesting works correctly; do not interfere with existing chaining behavior
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Console ModuleRelated to the "Console" module inside FileSystemProRelated to the "Console" module inside FileSystemPro