From f2c2e80a5ce529e17d756d3c6e3b44fe60a29cfd Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Tue, 12 Aug 2025 14:32:44 +0200 Subject: [PATCH] Show "Exit back to side panel" in options status bar for focused main view It's maybe not totally obvious, so let's show it. Esc now appears twice in the status bar, because the global controller also appends its generic "Cancel". We'll fix this in the next commit. --- pkg/gui/controllers/main_view_controller.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/pkg/gui/controllers/main_view_controller.go b/pkg/gui/controllers/main_view_controller.go index 5dfdb3233..fa7e6438a 100644 --- a/pkg/gui/controllers/main_view_controller.go +++ b/pkg/gui/controllers/main_view_controller.go @@ -39,9 +39,10 @@ func (self *MainViewController) GetKeybindings(opts types.KeybindingsOpts) []*ty DisplayOnScreen: true, }, { - Key: opts.GetKey(opts.Config.Universal.Return), - Handler: self.escape, - Description: self.c.Tr.ExitFocusedMainView, + Key: opts.GetKey(opts.Config.Universal.Return), + Handler: self.escape, + Description: self.c.Tr.ExitFocusedMainView, + DisplayOnScreen: true, }, { // overriding this because we want to read all of the task's output before we start searching