Merge pull request #8 from CyB3RC0nN0R/paging

Bug fixes
This commit is contained in:
Kai S. K. Engelbart 2020-01-16 08:33:11 +01:00 committed by GitHub
commit abc91803bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

3
menu.c
View File

@ -47,6 +47,9 @@ void show_menu(const struct MenuPage* pages, const size_t page_count, const bool
--page_index;
else
{
if (page_key == 'n' || page_key == 'm')
break;
page_changed = false;
itemKey = page_key;
do {