From 67293823e0be96318f404eed7a77900c2a5fc9d7 Mon Sep 17 00:00:00 2001 From: asdf Date: Wed, 27 Nov 2019 18:37:39 +1100 Subject: [PATCH] Change c.Visit(u) call to blocking, from goroutine --- client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client.go b/client.go index 2693ad0..3675ae0 100644 --- a/client.go +++ b/client.go @@ -414,7 +414,7 @@ func (c *client) doCommandAs(action string, values []string) { c.SetMessage("Cannot set READ ONLY setting 'configlocation'", true) c.DrawMessage() return - } + } err := saveConfig() if err != nil { c.SetMessage("Value set, but error saving config to file", true) @@ -817,7 +817,7 @@ func (c *client) goToURL(u string) { return } - go c.Visit(u) + c.Visit(u) } func (c *client) goToLink(l string) {