summaryrefslogtreecommitdiff
path: root/common.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-01-11 15:56:50 -0600
committerJeff Carr <[email protected]>2024-01-11 15:56:50 -0600
commit1248e21394afa41f5a5a42e843c3bd4cae71c5d6 (patch)
treea97acc520dd1e31870e9cc89ecfd1bd861d311ad /common.go
parent5d21e2f6f8ba1b62a848c6b614e98cea530bc085 (diff)
update for new gui API
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'common.go')
-rw-r--r--common.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/common.go b/common.go
index bde96ba..1a8c4e2 100644
--- a/common.go
+++ b/common.go
@@ -65,6 +65,14 @@ func (rs *RepoStatus) Ready() bool {
return rs.ready
}
+func (rs *RepoStatus) Horizontal() {
+ rs.window.Horizontal()
+}
+
+func (rs *RepoStatus) Vertical() {
+ rs.window.Vertical()
+}
+
func (rs *RepoStatus) Initialized() bool {
log.Log(CHANGE, "checking Initialized()")
if rs == nil {return false}