mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-09-01 14:47:21 -04:00
Port to latest libmutton/rcw development versions
This commit is contained in:
@@ -3,6 +3,7 @@ package cli
|
||||
import (
|
||||
"os"
|
||||
|
||||
"github.com/rwinkhart/libmutton/core"
|
||||
"golang.org/x/term"
|
||||
)
|
||||
|
||||
@@ -16,3 +17,9 @@ const (
|
||||
AnsiBold = "\033[1m"
|
||||
ansiBlackOnWhite = "\033[38;5;0;48;5;15m"
|
||||
)
|
||||
|
||||
func init() {
|
||||
core.GetPassphrase = func() []byte {
|
||||
return inputHidden("RCW Passphrase:")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user