Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/SoraTenshi/zigwin-console
- Owner: SoraTenshi
- License: mit
- Created: 2023-05-27T23:47:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-19T17:38:59.000Z (3 months ago)
- Last Synced: 2024-08-19T20:52:22.444Z (3 months ago)
- Language: Zig
- Size: 13.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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", .{});
}
```