summaryrefslogtreecommitdiff
path: root/linuxstatus/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-06 05:55:51 -0600
committerJeff Carr <[email protected]>2024-01-06 05:55:51 -0600
commitf35ad0837bae88d260e896886033320b64c2772e (patch)
tree6b5e1f6c7e29cb370d4a705ec696ca3757a48291 /linuxstatus/structs.go
parent8b59a3141a6bd70eb8b434edbe347c3a22bfb3d6 (diff)
more window handling
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'linuxstatus/structs.go')
-rw-r--r--linuxstatus/structs.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/linuxstatus/structs.go b/linuxstatus/structs.go
index 185f0d7..be541f2 100644
--- a/linuxstatus/structs.go
+++ b/linuxstatus/structs.go
@@ -14,13 +14,14 @@ import (
var me *LinuxStatus
type LinuxStatus struct {
- init bool
- ready bool
- hidden bool
- changed bool
+ ready bool
+ hidden bool
+ changed bool
- ifmap map[int]*IFtype // the current interfaces
- ipmap map[string]*IPtype // the current ip addresses
+ parent *gui.Node
+
+ ifmap map[int]*IFtype // the current interfaces
+ ipmap map[string]*IPtype // the current ip addresses
window *gadgets.BasicWindow
group *gui.Node