From 47d27e4166b960d7b84c9f6d974cc580843d59e9 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 19 Feb 2024 19:43:21 -0600 Subject: used a blind widget --- structs.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'structs.go') diff --git a/structs.go b/structs.go index d9db235..721dced 100644 --- a/structs.go +++ b/structs.go @@ -24,20 +24,22 @@ type RepoList struct { allrepos map[string]*Repo viewName string - // reposwin *gadgets.BasicWindow reposbox *gui.Node reposgrid *gui.Node reposgroup *gui.Node // put things here that can't be seen blind *gui.Node + + shownCount *gui.Node + hideFunction func(*Repo) } type Repo struct { hidden bool lasttagrev string - lasttag string - giturl string + // lasttag string + giturl string pLabel *gui.Node // path label -- cgit v1.2.3