regardless of the proposed workarounds, the original formulation of the problem is interesting in its own right tho'...
How would one compute the visible length? One obvious way would be by finding the screen position of the cursor before and after printing - something which I hazily remember was possible under curses...
Other solutions?
Cheers,
alf
In reply to Re: finding visible length of string?
by alien_life_form
in thread finding visible length of string?
by ajr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |