diff --git a/cmd/reactor/main.go b/cmd/reactor/main.go index 236f0bb..d705a9f 100644 --- a/cmd/reactor/main.go +++ b/cmd/reactor/main.go @@ -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() diff --git a/cmd/reactor/reactor b/cmd/reactor/reactor index b44cd9b..e1ebf82 100755 Binary files a/cmd/reactor/reactor and b/cmd/reactor/reactor differ diff --git a/cmd/server/server b/cmd/server/server index 82a5f6c..8006ce6 100755 Binary files a/cmd/server/server and b/cmd/server/server differ diff --git a/cmd/tui/main.go b/cmd/tui/main.go index 804b1c6..3a77058 100644 --- a/cmd/tui/main.go +++ b/cmd/tui/main.go @@ -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() diff --git a/internal/pkg/tui/tui.go b/internal/pkg/tui/tui.go index 7df6784..ad29d84 100644 --- a/internal/pkg/tui/tui.go +++ b/internal/pkg/tui/tui.go @@ -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() {