This is for a VT-100 style terminal emulator, right? It's designed to
implement a grid of characters. Therefore, drawing it like a grid
based on single or double character widths makes a lot more sense than
detecting the length of a string. On any other UI element, detecting
the string length would
Frankly speaking, I suspect that your new fix will break some program
which uses newt with proportional font.
PS: newt is a library for text mode user interfaces.
On Thu, 2013-07-18 at 11:23 -0700, Bill Spitzak wrote:
> I propose the drawing code be changed to something like this:
>
>char* s