summaryrefslogtreecommitdiff
path: root/draw.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-31 12:41:28 -0600
committerJeff Carr <[email protected]>2024-01-31 12:41:28 -0600
commit1a9b13dda5e13d0786718768443bab4a6916aab9 (patch)
treeae05054e4889c2b1b7153b2992d80c4e856df20b /draw.go
parent513c38922b1dca37bb2b2d64c5997e44b5796d00 (diff)
use SetText() not SetValue()
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'draw.go')
-rw-r--r--draw.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/draw.go b/draw.go
index 43a94c6..ac0e715 100644
--- a/draw.go
+++ b/draw.go
@@ -20,7 +20,7 @@ func draw(ls *LinuxStatus) {
ls.hostshort = gadgets.NewOneLiner(ls.grid, "hostname -s")
ls.domainname = gadgets.NewOneLiner(ls.grid, "domain name")
ls.resolver = gadgets.NewOneLiner(ls.grid, "nameservers =")
- ls.resolver.SetValue("TODO")
+ ls.resolver.SetText("TODO")
ls.uid = gadgets.NewOneLiner(ls.grid, "UID =")
ls.IPv4 = gadgets.NewOneLiner(ls.grid, "Current IPv4 =")
ls.IPv6 = gadgets.NewOneLiner(ls.grid, "Current IPv6 =")