Skip to content

Enhance Windows fallback and VT detection robustness #140

@hbisneto

Description

@hbisneto

Problem: On Windows, VT enable can fail in some environments (e.g., Emacs), leading to flicker or no color; enable_vt_processing only returns a boolean

Why it matters: Users expect consistent behavior across terminals.

Proposed solution: In just_fix_windows_console(), attempt VT first; on failure, automatically fall back to AnsiToWin32 stripping or Win32 API conversion. Expose the detected mode for debugging.

Notes: Preserve existing API; add optional verbose=True to log detection steps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Console ModuleRelated to the "Console" module inside FileSystemPro

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions