Import std.term.style
VisibleWidth
function
Public Function VisibleWidth(text: String): Int
The columns text takes in a terminal, as DisplayWidth counts them, without its escape codes.
Each line's are counted alike, so for text of several lines it's the widest one's.
Report an issue with this page or with FutureBlitz on GitHub.