Howdy, folks. Here is a more complicated password edit (Ian, I mentioned this over IRC). It allows for three different types of "masking modes", act like a password edit all of the time, when not in focus, or never. For what I have tried to use it for, it works quite well.
Also, included with the edit is an example program which demonstrates a problem that I have been having with it (and a fix that seems a little weird, IMO). If anyone wants to take a stab at why this is happening, feel free. The problem is as follows: if you type something into the edit and leave it (going to the footer), the text will turn to stars (by design). However, if you try to return from the footer to the body, the text doesn't revert back to plain until you press a key that makes the edit react (left,right, printable characters). I don't know what's up with that. Any help (comments, and criticisms, too) would be appreciated ~Andrew
maskingedit.py
Description: Binary data
_______________________________________________ Urwid mailing list [email protected] http://lists.excess.org/mailman/listinfo/urwid
