forked from snapshot112/minigame-menu
Code cleanup and documentation
This commit is contained in:
9
manual.c
9
manual.c
@@ -1,6 +1,7 @@
|
||||
//
|
||||
// Created by snapshot112 on 10/17/25.
|
||||
//
|
||||
/*
|
||||
* Created by snapshot112 on 10/17/2025
|
||||
*/
|
||||
|
||||
|
||||
#include "manual.h"
|
||||
|
||||
@@ -26,7 +27,7 @@ void manual(const coordinate display_location) {
|
||||
|
||||
// Wait until ESCAPE or BACKSPACE is pressed.
|
||||
timeout(200);
|
||||
for (int ch = getch(); ch != KEY_ESCAPE && ch != KEY_BACKSPACE && ch != ' '; ch = getch()) {
|
||||
for (int ch = getch(); ch != KEY_ESCAPE && ch != KEY_BACKSPACE; ch = getch()) {
|
||||
// Update the screen in the meantime to accommodate windows resizes.
|
||||
show_grid_on_offset(grid, display_location.x, display_location.y);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user