summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-12-16 12:59:18 -0600
committerJeff Carr <[email protected]>2023-12-16 12:59:18 -0600
commitbbf96ee7fa67a6d50ea1d1b3a23a3f44f136a30e (patch)
treea96585438a24f296d58fb3d2bd5cad8f1d4c8f3c /main.go
parente9f1723dbc8dab3bd84f7006723f6ae9c97df88c (diff)
seems to compile and runv0.1.1
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.go b/main.go
index 53e8101..7275572 100644
--- a/main.go
+++ b/main.go
@@ -32,9 +32,9 @@ func main() {
// myGui = gui.New().InitEmbed(resToolkit).LoadToolkit("gocui")
myGui = gui.New().Default()
- sleep(.2)
+ sleep(me.artificialSleep)
setupControlPanelWindow()
- sleep(.2)
+ sleep(me.artificialSleep)
if (args.GuiDebug) {
gui.DebugWindow()
}
@@ -50,7 +50,7 @@ func main() {
func checkNetworkChanges() {
var ttl int = 0
for {
- sleep(0.5)
+ sleep(me.dnsTTLsleep)
ttl -= 1
if (ttl < 0) {
if (runtime.GOOS == "linux") {