Skip to content

Commit

Permalink
Show jump panel keybindings in panel titles
Browse files Browse the repository at this point in the history
  • Loading branch information
A11Might committed Nov 25, 2024
1 parent be05115 commit b8a3ca1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/gui/views.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,11 @@ func (gui *Gui) createAllViews() error {
gui.Views.Main.IgnoreCarriageReturns = true

gui.Views.Project.Title = gui.Tr.ProjectTitle
gui.Views.Project.TitlePrefix = "[1]"

gui.Views.Services.Highlight = true
gui.Views.Services.Title = gui.Tr.ServicesTitle
gui.Views.Services.TitlePrefix = "[2]"
gui.Views.Services.SelBgColor = selectedLineBgColor

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

gui.Views.Images.Highlight = true
gui.Views.Images.Title = gui.Tr.ImagesTitle
gui.Views.Images.SelBgColor = selectedLineBgColor
gui.Views.Images.TitlePrefix = "[4]"

gui.Views.Volumes.Highlight = true
gui.Views.Volumes.Title = gui.Tr.VolumesTitle
gui.Views.Volumes.TitlePrefix = "[5]"
gui.Views.Volumes.SelBgColor = selectedLineBgColor

gui.Views.Networks.Highlight = true
gui.Views.Networks.Title = gui.Tr.NetworksTitle
gui.Views.Networks.TitlePrefix = "[6]"
gui.Views.Networks.SelBgColor = selectedLineBgColor

gui.Views.Options.Frame = false
Expand Down

0 comments on commit b8a3ca1

Please sign in to comment.