Skip to content

Commit b8a3ca1

Browse files
committed
Show jump panel keybindings in panel titles
1 parent be05115 commit b8a3ca1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkg/gui/views.go

+6
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,11 @@ func (gui *Gui) createAllViews() error {
119119
gui.Views.Main.IgnoreCarriageReturns = true
120120

121121
gui.Views.Project.Title = gui.Tr.ProjectTitle
122+
gui.Views.Project.TitlePrefix = "[1]"
122123

123124
gui.Views.Services.Highlight = true
124125
gui.Views.Services.Title = gui.Tr.ServicesTitle
126+
gui.Views.Services.TitlePrefix = "[2]"
125127
gui.Views.Services.SelBgColor = selectedLineBgColor
126128

127129
gui.Views.Containers.Highlight = true
@@ -131,17 +133,21 @@ func (gui *Gui) createAllViews() error {
131133
} else {
132134
gui.Views.Containers.Title = gui.Tr.StandaloneContainersTitle
133135
}
136+
gui.Views.Containers.TitlePrefix = "[3]"
134137

135138
gui.Views.Images.Highlight = true
136139
gui.Views.Images.Title = gui.Tr.ImagesTitle
137140
gui.Views.Images.SelBgColor = selectedLineBgColor
141+
gui.Views.Images.TitlePrefix = "[4]"
138142

139143
gui.Views.Volumes.Highlight = true
140144
gui.Views.Volumes.Title = gui.Tr.VolumesTitle
145+
gui.Views.Volumes.TitlePrefix = "[5]"
141146
gui.Views.Volumes.SelBgColor = selectedLineBgColor
142147

143148
gui.Views.Networks.Highlight = true
144149
gui.Views.Networks.Title = gui.Tr.NetworksTitle
150+
gui.Views.Networks.TitlePrefix = "[6]"
145151
gui.Views.Networks.SelBgColor = selectedLineBgColor
146152

147153
gui.Views.Options.Frame = false

0 commit comments

Comments
 (0)