summaryrefslogtreecommitdiffstats
path: root/pkg/gui/tasks_adapter.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2021-11-01 09:35:54 +1100
committerJesse Duffield <jessedduffield@gmail.com>2021-11-01 10:03:49 +1100
commit2fc1498517523a20a3080816ec50ee9e7fbe533d (patch)
tree808b455c38c2e96f3d3930fa49f3f605416e5f24 /pkg/gui/tasks_adapter.go
parent7a464ae5b7782b383050de6dc3ae5bd51a88bad0 (diff)
some refactoring in anticipation of the graph feature
Diffstat (limited to 'pkg/gui/tasks_adapter.go')
-rw-r--r--pkg/gui/tasks_adapter.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkg/gui/tasks_adapter.go b/pkg/gui/tasks_adapter.go
index 61c3de083..7e5089f6a 100644
--- a/pkg/gui/tasks_adapter.go
+++ b/pkg/gui/tasks_adapter.go
@@ -90,9 +90,8 @@ func (gui *Gui) getManager(view *gocui.View) *tasks.ViewBufferManager {
view.Reset()
},
func() {
- gui.g.Update(func(*gocui.Gui) error {
- return nil
- })
+ // gui.g.Draw(view) // doing this causes an issue when there's a popup panel in front of the main view.
+ gui.render()
},
func() {
// Need to check if the content of the view is well past the origin.