From b8a3ca1550db5ffdd46f4e32a1596f229e8c4412 Mon Sep 17 00:00:00 2001 From: kohath Date: Mon, 25 Nov 2024 21:27:27 +0800 Subject: [PATCH] Show jump panel keybindings in panel titles --- pkg/gui/views.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkg/gui/views.go b/pkg/gui/views.go index 60cf7201..3de6d61a 100644 --- a/pkg/gui/views.go +++ b/pkg/gui/views.go @@ -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 @@ -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