Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WordWrap ¶
Literally all the existing word wrap implementations suck. They split by spaces so "aaa aaa" works but "aaaaaa" wouldn't get word wrapped. That is not how real word wrapping works. It should still put them on a newline. But we should also respect words so as to not cut words. E.g if "hello world" exceeded then "world" should be in a newline but not trimmed like "wo\nrld"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.