mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
rename displayString to label for menu items
This commit is contained in:
@ -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),
|
||||
},
|
||||
|
Reference in New Issue
Block a user