Skip to content

Commit

Permalink
fix(menu): add a workaround to enable scrolling back in "menumore()"
Browse files Browse the repository at this point in the history
Add a workaround to enable scrolling back for certain information within the menu after reaching the end of the page.
Note that this workaround only works when M3_USE_PMORE is enabled.
  • Loading branch information
holishing committed Dec 24, 2023
1 parent 686e0e3 commit b1e639c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions maple/menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ view_login_log(void)
static int
menumore(const void *arg)
{
#ifdef M3_USE_PMORE
more((const char *)arg, FOOTER_POST);
#else
more((const char *)arg, 0);
#endif
return 0;
}

Expand Down

0 comments on commit b1e639c

Please sign in to comment.