diff options
| author | Jeff Carr <[email protected]> | 2024-01-10 20:22:25 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-10 20:22:25 -0600 |
| commit | f8df2d1ce33e8eb70a996775006b37419c5165a7 (patch) | |
| tree | 23e3106a95c352f4bfdb6b5f37096f5caffdce4c /digStatus.go | |
| parent | ad8a25d85f50dfe27dbefa5267749e61c0cb16b3 (diff) | |
autofix!v0.5.4
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'digStatus.go')
| -rw-r--r-- | digStatus.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/digStatus.go b/digStatus.go index fd775af..b9a8982 100644 --- a/digStatus.go +++ b/digStatus.go @@ -42,6 +42,7 @@ type digStatus struct { speed *gadgets.OneLiner speedActual *gadgets.OneLiner + detailsGroup *gui.Node details *gui.Node dsLocalhost *resolverStatus dsLocalNetwork *resolverStatus @@ -77,7 +78,8 @@ func NewDigStatusWindow(p *gui.Node) *digStatus { ds.speedActual = gadgets.NewOneLiner(g, "actual").Set("unknown") // make the area to store the raw details - ds.details = ds.window.Box().NewGroup("Details") + ds.detailsGroup = ds.window.Box().NewGroup("Details") + ds.details = ds.detailsGroup.NewBox("bw vbox", false) ds.dsLocalhost = NewResolverStatus(ds.details, "(localhost)", "127.0.0.1:53", "go.wit.com") ds.dsLocalNetwork = NewResolverStatus(ds.details, "(Local Network)", "192.168.86.1:53", "go.wit.com") ds.dsCloudflare = NewResolverStatus(ds.details, "(cloudflare)", "1.1.1.1:53", "go.wit.com") |
