INNER CODE UNIT · Go
main
c-bata/go-prompt · _example/live-prefix/main.go:39
func main() {
p := prompt.New(
executor,
completer,
prompt.OptionPrefix(">>> "),
prompt.OptionLivePrefix(changeLivePrefix),
prompt.OptionTitle("live-prefix-example"),
)
p.Run()
}