rockorager / libvaxis

a modern tui library written in zig
https://rockorager.github.io/libvaxis/
MIT License
463 stars 32 forks source link

window: make print infallible #91

Closed rockorager closed 3 weeks ago

rockorager commented 3 weeks ago

Print and PrintSegment are now infallible due to gwidth also being infallible. The previous error was only error.OutOfMemory if a temporary buffer was too small to encode text in gwidth. This has been removed in favor or a for loop