Skip to content

Windows 10 colored terminalΒ #67

@MikuAuahDark

Description

@MikuAuahDark

Windows 10 anniversary update added ENABLE_VIRTUAL_TERMINAL_PROCESSING flag to console mode, which can be used to enable ANSI color codes. This can be enabled for LuaJIT environment (where FFI is available). Below is my way to enable it.

https://github.com/MikuAuahDark/livesim2/blob/master/logging.lua#L59-L63

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions