Skip to content

Commit f2c2e80

Browse files
committed
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.
1 parent d50e585 commit f2c2e80

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pkg/gui/controllers/main_view_controller.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,10 @@ func (self *MainViewController) GetKeybindings(opts types.KeybindingsOpts) []*ty
3939
DisplayOnScreen: true,
4040
},
4141
{
42-
Key: opts.GetKey(opts.Config.Universal.Return),
43-
Handler: self.escape,
44-
Description: self.c.Tr.ExitFocusedMainView,
42+
Key: opts.GetKey(opts.Config.Universal.Return),
43+
Handler: self.escape,
44+
Description: self.c.Tr.ExitFocusedMainView,
45+
DisplayOnScreen: true,
4546
},
4647
{
4748
// overriding this because we want to read all of the task's output before we start searching

0 commit comments

Comments
 (0)