mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-08-27 20:36:29 -04:00
25 lines
494 B
Go
25 lines
494 B
Go
package cli
|
|
|
|
import (
|
|
"os"
|
|
|
|
"github.com/rwinkhart/go-boilerplate/front"
|
|
"github.com/rwinkhart/libmutton/core"
|
|
"golang.org/x/term"
|
|
)
|
|
|
|
var (
|
|
width, _, _ = term.GetSize(int(os.Stdout.Fd()))
|
|
)
|
|
|
|
const (
|
|
MUTNVersion = "0.D.0" // untagged releases feature a letter suffix corresponding to the eventual release version, e.g "0.2.A" -> "0.2.0", "0.2.B" -> "0.2.1"
|
|
|
|
AnsiBold = "\033[1m"
|
|
ansiBlackOnWhite = "\033[38;5;0;48;5;15m"
|
|
)
|
|
|
|
func init() {
|
|
core.GetPassphrase = front.InputHidden
|
|
}
|