gocui icon indicating copy to clipboard operation
gocui copied to clipboard

Text Input box with password masking

Open pjebs opened this issue 7 years ago • 2 comments

How can I mask passwords? Thank you for the library.

pjebs avatar Jan 02 '18 10:01 pjebs

I think that should be done in your application logic.

cyc115 avatar Jan 12 '18 02:01 cyc115

Considering v is a gocui.View:

v.Mask ^= '*'

This will mask this view's input with asterisks.

afroewis avatar Jun 02 '18 10:06 afroewis