Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update textutils.PrintHeader header length logic
Swap out use of `len` (performs bytes length calculation) with `utf8.RuneCountInString` (char length calculation). While the two provide identical results for *most* cases (where ASCII characters are given), using `utf8.RuneCountInString` looks to be the correct approach to use here (where non-ASCII characters *could* be provided at some point in the future).
- Loading branch information