Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/SoraTenshi/zigwin-console

A simple console-spawner for Windows. Usually used for debugging DLLs
https://github.com/SoraTenshi/zigwin-console

Last synced: 4 days ago
JSON representation

A simple console-spawner for Windows. Usually used for debugging DLLs

Awesome Lists containing this project

README

        

# zigwin-console
A simple console-spawner for Windows. Usually used for debugging DLLs

## Example usage:
```zig
const c = @import("zigwin-console");

pub fn main() !void {
const console = try c.Console.init("My new console!", true);
// Always free your console!
defer console.deinit();

try console.print(.info, "Coffee's here commander!\n", .{});
try console.print(.bad, "Oh no! i forgot the milk!\n", .{});
try console.print(.good, "Don't worry!~\n", .{});
}
```