diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2022-05-08 14:23:32 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-05-08 14:26:18 +1000 |
commit | 6f8063217ddf132dca36b75affaa7f7273f89d9d (patch) | |
tree | 871c1b76adf464b11fe04c43bbd2a4a7ac5d452e /pkg/gui/recent_repos_panel.go | |
parent | 125e948d82c33226f92a1ebe18361633116370d3 (diff) |
rename displayString to label for menu items
Diffstat (limited to 'pkg/gui/recent_repos_panel.go')
-rw-r--r-- | pkg/gui/recent_repos_panel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/recent_repos_panel.go b/pkg/gui/recent_repos_panel.go index 38684809b..86f1bd6ab 100644 --- a/pkg/gui/recent_repos_panel.go +++ b/pkg/gui/recent_repos_panel.go @@ -17,7 +17,7 @@ func (gui *Gui) handleCreateRecentReposMenu() error { // we won't show the current repo hence the -1 menuItems := slices.Map(recentRepoPaths[1:], func(path string) *types.MenuItem { return &types.MenuItem{ - DisplayStrings: []string{ + LabelColumns: []string{ filepath.Base(path), style.FgMagenta.Sprint(path), }, |