Hide() works

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-01-15 00:17:01 -06:00
parent de5f84717f
commit ba825e7eb0
1 changed files with 2 additions and 1 deletions

3
new.go
View File

@ -20,7 +20,8 @@ func New(p *gui.Node, path string) *RepoStatus {
rs.ready = true
rs.draw()
rs.window.Custom = func() {
rs.hidden = true
// rs.hidden = true
rs.Hide()
log.Warn("repostatus user closed the window()")
}
return rs