summaryrefslogtreecommitdiff
path: root/common.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-13 20:30:33 -0600
committerJeff Carr <[email protected]>2024-01-13 20:30:33 -0600
commit966348d5343a13ca889805d5a46907927d07f4ce (patch)
treef82cf534206ebe399432d09c86d2b6e7672823f8 /common.go
parent86873b296cb856a1b8e7251047ccb2b04d188f9b (diff)
status is almost done
Diffstat (limited to 'common.go')
-rw-r--r--common.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/common.go b/common.go
index 1a8c4e2..fe118c6 100644
--- a/common.go
+++ b/common.go
@@ -22,12 +22,28 @@ func (rs *RepoStatus) Make() {
rs.window.Make()
rs.ready = true
}
+
+func (rs *RepoStatus) Make2() {
+ if ! rs.Ready() {return}
+ log.Log(CHANGE, "Make() window ready =", rs.ready)
+ rs.window.Make()
+ rs.ready = true
+ draw(rs)
+}
+
+func (rs *RepoStatus) TestDraw() {
+ if ! rs.Ready() {return}
+ log.Log(CHANGE, "TestDraw() RUNNING HERE")
+ rs.window.TestDraw()
+}
+
func (rs *RepoStatus) Draw() {
if ! rs.Ready() {return}
log.Log(CHANGE, "Draw() window ready =", rs.ready)
rs.window.Draw()
rs.ready = true
}
+
func (rs *RepoStatus) Draw2() {
if ! rs.Ready() {return}
log.Log(CHANGE, "draw(rs) ready =", rs.ready)