diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-11 21:52:04 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-11 22:07:29 +1000 |
commit | 84b0c3df4fd8373dcc248a907ddb3c539a88f0c7 (patch) | |
tree | 180d6b62944697fa61336092fc586cab55e69dfa /pkg/gui/layout.go | |
parent | 764bd556f3500bf51556e8f475d5efdda7fd9c46 (diff) |
ask question button
Diffstat (limited to 'pkg/gui/layout.go')
-rw-r--r-- | pkg/gui/layout.go | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/pkg/gui/layout.go b/pkg/gui/layout.go index 9846e67ef..07ffb2814 100644 --- a/pkg/gui/layout.go +++ b/pkg/gui/layout.go @@ -1,28 +1,11 @@ package gui import ( - "github.com/fatih/color" "github.com/jesseduffield/gocui" "github.com/jesseduffield/lazygit/pkg/theme" ) const SEARCH_PREFIX = "search: " -const INFO_SECTION_PADDING = " " - -func (gui *Gui) informationStr() string { - for _, mode := range gui.modeStatuses() { - if mode.isActive() { - return mode.description() - } - } - - if gui.g.Mouse { - donate := color.New(color.FgMagenta, color.Underline).Sprint(gui.Tr.Donate) - return donate + " " + gui.Config.GetVersion() - } else { - return gui.Config.GetVersion() - } -} func (gui *Gui) createAllViews() error { viewNameMappings := []struct { |