mirror of
https://github.com/anomalyco/opentui.git
synced 2026-09-19 01:26:03 +08:00
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>
This commit is contained in:
+1
-1
@@ -1 +1 @@
|
||||
0.16.0
|
||||
0.16.0
|
||||
Reference in New Issue
Block a user