Added GetPassword function.
parent
a510706310
commit
b84778e44c
|
@ -8,6 +8,10 @@ func main() {
|
|||
tui.Start()
|
||||
defer tui.Stop()
|
||||
|
||||
pwd := tui.GetPassword("Password: ")
|
||||
tui.PrintString("Got %s", pwd)
|
||||
tui.GetString("...")
|
||||
|
||||
c := tui.GetMenu(
|
||||
"Menu",
|
||||
"Some long or short text.",
|
||||
|
|
Reference in New Issue