On Mon, 25 Jul 2016 14:40:43 -0700 Eric Pruitt <eric.pru...@gmail.com> wrote:
> I see; I misread "curpos" as "cursor" when I glanced over it the first > time. However, it still looks wrong to me, so I tested it to verify > -- I believe the problem is that the characters aren't guaranteed to > have a width of 8 or even be constant for every character, so if you > type (or paste) something like "Blah blah Բարի գալուստ Վիքիպեդիա Blah > Blah", the cursor position and the number of asterisks is not properly > synchronized. Yeah I just stumpled upon this issue. hmm, difficult. Still, you need to find a simpler solution for your purpose, even though I don't think it'll ever get merged into mainline. Cheers FRIGN -- FRIGN <d...@frign.de>