Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1683

May we have a %@WIDTH[] that is like %@LENGTH[] but is display width instead of character count

$
0
0
I hear there is an internal function for this, but no one’s ever asked for it to be exposed before.

I’m doing advanced cosmetic things with ANSI and emoji. One thing I’m doing is double height text. You have to wrap the double height text yourself. And part of wrapping accurately is measuring the width. If my emoji get "undercounted" as 1 when they take up 2 columns of screen, my line overruns. There’s no easy way to get past .... The hard way is examining each character (oh please...

Read more

Viewing all articles
Browse latest Browse all 1683

Trending Articles