diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-02 11:02:45 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-02 11:09:12 +1100 |
commit | 8b7f7cbc30f2ded008ff2b123664dc493b7527b5 (patch) | |
tree | b65401c0a6cbc9ca4e955fceca141ba50cd81813 /test | |
parent | b6d0bdfa2d09e72050989610d253c4394d3ac6e0 (diff) |
linting
Diffstat (limited to 'test')
-rw-r--r-- | test/lazyintegration/main.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/lazyintegration/main.go b/test/lazyintegration/main.go index 6081e0aaf..8a3ebf7c2 100644 --- a/test/lazyintegration/main.go +++ b/test/lazyintegration/main.go @@ -310,7 +310,9 @@ func (app *App) layout(g *gocui.Gui) error { return err } } - listView.SetCursor(0, app.itemIdx) + if err := listView.SetCursor(0, app.itemIdx); err != nil { + return err + } descriptionView, err := g.SetViewBeneath("description", "list", descriptionViewHeight) if err != nil { |