local changes

main
Keegan 2 years ago
parent 9d55e41bf9
commit 9eae80076d

@ -26,7 +26,7 @@ func main() {
w := flag.CommandLine.Output()
fmt.Fprintf(w, "Usage: %s port \n",os.Args[0])
}
iptr := flag.String("i","192.1.168.136","ip address of server")
iptr := flag.String("i","192.168.100.2","ip address of server")
flag.Parse()
if flag.NArg() != 1 {
flag.Usage()

Binary file not shown.

Binary file not shown.

@ -24,7 +24,7 @@ func main() {
w := flag.CommandLine.Output()
fmt.Fprintf(w,"Usage: %s port \n", os.Args[0])
}
iptr := flag.String("i","192.1.168.136","ip address of listener")
iptr := flag.String("i","192.168.100.2","ip address of listener")
flag.Parse()
if flag.NArg() != 1 {
flag.Usage()

@ -70,11 +70,12 @@ func (t *TUI) Monitor() {
select {
case reactor := <-t.SelectedReactor:
// reactor has been selected in tui, grabbing devs
fmt.Printf("ReactorSelected %v\n",reactor)
t.App.QueueUpdateDraw(func() {
t.UpdateDevices(reactor)
})
case device : <-t.SelectedDevice:
// TODO
fmt.Println("DeviceSelected")
case <-timer:
// time to ping for status
t.App.QueueUpdateDraw(func() {

Loading…
Cancel
Save