Re: [dev] [dmenu] [PATCH] Added option to prompt for passwords

From: FRIGN <dev_AT_frign.de>
Date: Mon, 25 Jul 2016 23:46:49 +0200

On Mon, 25 Jul 2016 14:40:43 -0700
Eric Pruitt <eric.pruitt_AT_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 <dev_AT_frign.de>
Received on Mon Jul 25 2016 - 23:46:49 CEST

This archive was generated by hypermail 2.3.0 : Mon Jul 25 2016 - 23:48:16 CEST