I am using SDL and libfreetype and constructing a very basic GUI, I'm implementing a textBox, but I haven't been able to figure out how I'm supposed to generate the standard blinking cursor part. It doesn't seem to be exactly the same as a |
character. And moreover if I draw it as a |
character that changes the text width.
What's the canonically correct way to render text in a textbox with a cursor?