diff options
-rw-r--r-- | pkg/gui/status_panel.go | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkg/gui/status_panel.go b/pkg/gui/status_panel.go index 544f5e880..88134096e 100644 --- a/pkg/gui/status_panel.go +++ b/pkg/gui/status_panel.go @@ -49,6 +49,18 @@ func (gui *Gui) renderStatusOptions(g *gocui.Gui) error { } func (gui *Gui) handleStatusSelect(g *gocui.Gui, v *gocui.View) error { + dashboardString := fmt.Sprintf( + "%s\n\n%s\n\n%s\n\n%s\n\n%s", + lazygitTitle(), + "Keybindings: https://github.com/jesseduffield/lazygit/blob/master/docs/Keybindings.md", + "Config Options: https://github.com/jesseduffield/lazygit/blob/master/docs/Config.md", + "Tutorial: https://www.youtube.com/watch?v=VDXvbHZYeKY", + "Raise an Issue: https://github.com/jesseduffield/lazygit/issues", + ) + + if err := gui.renderString(g, "main", dashboardString); err != nil { + return err + } return gui.renderStatusOptions(g) } @@ -61,3 +73,15 @@ func (gui *Gui) handleEditConfig(g *gocui.Gui, v *gocui.View) error { filename := gui.Config.GetUserConfig().ConfigFileUsed() return gui.genericFileOpen(g, v, filename, gui.OSCommand.EditFile) } + +func lazygitTitle() string { + return ` + _ _ _ + | | (_) | + | | __ _ _____ _ __ _ _| |_ + | |/ _` + "`" + ` |_ / | | |/ _` + "`" + ` | | __| + | | (_| |/ /| |_| | (_| | | |_ + |_|\__,_/___|\__, |\__, |_|\__| + __/ | __/ | + |___/ |___/ ` +} |