diff options
| author | Jeff Carr <[email protected]> | 2024-01-31 12:41:28 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-01-31 12:41:28 -0600 |
| commit | 1a9b13dda5e13d0786718768443bab4a6916aab9 (patch) | |
| tree | ae05054e4889c2b1b7153b2992d80c4e856df20b /draw.go | |
| parent | 513c38922b1dca37bb2b2d64c5997e44b5796d00 (diff) | |
use SetText() not SetValue()
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'draw.go')
| -rw-r--r-- | draw.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 =") |
