diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-12-30 11:34:01 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-12-30 12:18:59 +1100 |
commit | af5b3be2861518737482f474e3b5ff6c2c551720 (patch) | |
tree | 5933a1254d7ad1d76c99ec302ed316d9865b772a /pkg/gui/gui.go | |
parent | 81281a49b21c5d708e2b5ed70dc5ca5a27ea6db7 (diff) |
integrate snake game into lazygit
Diffstat (limited to 'pkg/gui/gui.go')
-rw-r--r-- | pkg/gui/gui.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go index 1431f6c16..80b18661b 100644 --- a/pkg/gui/gui.go +++ b/pkg/gui/gui.go @@ -33,6 +33,7 @@ import ( "github.com/jesseduffield/lazygit/pkg/gui/types" "github.com/jesseduffield/lazygit/pkg/integration/components" integrationTypes "github.com/jesseduffield/lazygit/pkg/integration/types" + "github.com/jesseduffield/lazygit/pkg/snake" "github.com/jesseduffield/lazygit/pkg/tasks" "github.com/jesseduffield/lazygit/pkg/theme" "github.com/jesseduffield/lazygit/pkg/updates" @@ -154,6 +155,8 @@ type Gui struct { c *types.HelperCommon helpers *helpers.Helpers + + snakeGame *snake.Game } // we keep track of some stuff from one render to the next to see if certain |