Skip to content

Commit

Permalink
Force PrimaryMenu.show-back True until breadcrumbs are navigable
Browse files Browse the repository at this point in the history
  • Loading branch information
japhb committed Feb 27, 2024
1 parent 45b6ab3 commit 9d7aed8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/MUGS/UI/TUI/Layout/PrimaryMenu.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ does MUGS::UI::TUI::Layout::StandardScreen {
#| Whether to add "Back to Previous Menu" items to menu lists
method show-back() {
my $history-nav = self.terminal.ui-prefs<history-nav> // '';
$history-nav ne 'breadcrumbs-only'
# $history-nav ne 'breadcrumbs-only'
True
}

#| Return an array of all possible hints for this screen
Expand Down

0 comments on commit 9d7aed8

Please sign in to comment.