Update README.md

This commit is contained in:
abux 2026-07-31 23:05:38 +00:00
parent 3389c86611
commit f9772950b5

View file

@ -34,15 +34,15 @@ std.debug.print("TypeID(Player): {}\n", .{TypeID(Player)});
Output: TypeID(Player): 2462284566368800629 Output: TypeID(Player): 2462284566368800629
``` ```
## NicePrint # NicePrint
# Styles ## Styles
- default - default
- rounded - rounded
- pipe - pipe
- custom - custom
# Example ## Example
```zig ```zig
// --- PRINT --- // --- PRINT ---
if (log.print(.debug, "DEVICE INFO", ansi.bold ++ ansi.red)) |a| { if (log.print(.debug, "DEVICE INFO", ansi.bold ++ ansi.red)) |a| {
@ -61,8 +61,8 @@ if (log.print(.debug, "DEVICE INFO", ansi.bold ++ ansi.red)) |a| {
} }
``` ```
# Output ## Output
```bash ```text
┏━ DEVICE INFO ┏━ DEVICE INFO
┃ device -> GTX ┃ device -> GTX
┃ vendor -> Nvidia ┃ vendor -> Nvidia