try to switch toolkits from gocui
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
cdb46e870f
commit
2b3296fd56
2
main.go
2
main.go
|
@ -21,6 +21,8 @@ func init() {
|
||||||
|
|
||||||
log.Log(INFO, "Init() END")
|
log.Log(INFO, "Init() END")
|
||||||
|
|
||||||
|
showOptions()
|
||||||
|
|
||||||
go simpleStdin()
|
go simpleStdin()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
2
stdin.go
2
stdin.go
|
@ -25,6 +25,8 @@ func showOptions() {
|
||||||
fmt.Println("")
|
fmt.Println("")
|
||||||
fmt.Println("Enter the number of the widget to click:")
|
fmt.Println("Enter the number of the widget to click:")
|
||||||
fmt.Print("Option: ")
|
fmt.Print("Option: ")
|
||||||
|
fmt.Fprintf(os.Stderr, "Option:\n")
|
||||||
|
fmt.Fprintf(os.Stderr, "Option: ")
|
||||||
}
|
}
|
||||||
|
|
||||||
func simpleStdin() {
|
func simpleStdin() {
|
||||||
|
|
Loading…
Reference in New Issue