4 Commits

Author SHA1 Message Date
avrl 0924679971 feat: implement per-line text alignment support textAlign (#1507)
Fixes: #916 

Implemented this textAlign feature for left | center | right positions.

Works fine for both wraps (chars and words).

It was straightforward  to add padding = total cols - line_length.
Please let me know if I missed anything.


https://github.com/user-attachments/assets/cd45ffff-9ad7-47a7-b3db-bf6e758f36c6

---------

Co-authored-by: Simon Klee <hello@simonklee.dk>
2026-09-16 07:37:08 +00:00
Simon Klee 532917707b core: migrate to zig 0.16 (#1286)
Mechanically migrate core to Zig 0.16 without changing behavior,
ownership or api.

- Pin Zig `0.16.0`
- Port the build graph to 0.16 module-level C/C++ APIs; replace
`@cImport` with Translate-C for
  miniaudio and Yoga.
- Add one process-lifetime `std.Io.Threaded.init_single_threaded` seam;
keep existing `std.Thread.spawn` for renderer/audio (no `Io.async` /
`Evented` yet)
- Migrate locks, clocks, writers, allocators, and removed std APIs
- Forward SSH/mosh markers in auto terminal env so remote sessions do
not inherit host
  capabilities
- Upgrade to Unicode 17 data from `uucode`

**Out of scope:** `std.Io.Evented`, renderer/FFI redesign, fixing
pre-existing issues.


| Surface                        | Result             |
| ------------------------------ | ------------------ |
| Production exports             | 347 unchanged      |
| Linux dynamic export names     | Identical (1,760)  |
| TS FFI struct layouts          | Byte-identical     |
| Linux glibc floor              | Still `GLIBC_2.17` |
| Release targets / native paths | Unchanged          |
2026-08-07 12:40:13 +02:00
Tommy D. Rossi c85d93284a Upgrade to Zig 0.15.2 (#439)
---------

Co-authored-by: Sebastian <hasta84@gmail.com>
2026-01-06 16:26:37 +01:00
Tommy D. Rossi 33ea7feed8 Add .zig-version file for automatic version detection (#422) 2025-12-17 00:42:36 +01:00