Progress bars

... And also the Do function works now
This commit is contained in:
Sasha Koshka 2023-01-17 20:16:03 -05:00
parent b9be483869
commit 5e3dfeaadd
4 changed files with 105 additions and 4 deletions

View File

@ -31,6 +31,7 @@ type Backend struct {
func NewBackend () (output tomo.Backend, err error) { func NewBackend () (output tomo.Backend, err error) {
backend := &Backend { backend := &Backend {
windows: map[xproto.Window] *Window { }, windows: map[xproto.Window] *Window { },
doChannel: make(chan func (), 0),
} }
// connect to X // connect to X