Skip Menu |

This queue is for tickets about the Curses-Toolkit CPAN distribution.

Report information
The Basics
Id: 86709
Status: resolved
Priority: 0/
Queue: Curses-Toolkit

People
Owner: Nobody in particular
Requestors: maciej.bonin [...] m247.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: (no value)



Subject: Curses::Toolkit feature request/inquiry for password entry field
Hello, I've been attempting to use Curses::Toolkit to create a UI for some code I have been working on and I'm a bit stuck at the moment as Curses::Toolkit::Widget::Entry doesn't seem to be an appropriate choice for a password input field. I do not require any sort of encryption to take place but it would be very unfortunate to echo the password back to the screen. I've been looking around at the code but I'm a bit confused as where the separation of the displayed text is handled from the text that is displayed, as it seems modifying it to obscure the text would eventually lead to the attribute value being overwritten. Is this something you would be planning to implement, if not could you at least give me some pointer as to where would be the best place to start, please ?
Hi, I've pushed a branch on github wich makes it possible to have an entry with masked text. You can check it out. I'll release soon
I've released v0.208. You can use this code: $entry->set_password_mode(1) See ewample/widgets/entry.pl in the dist Feel free to reopen if it's not working fine.