Skip to content

Commit

Permalink
Latest
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbrianhall committed Dec 23, 2024
1 parent a186859 commit a8b73b4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions c/wizardio.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@ char *get_command_with_history(const char *prompt) {
#endif

#if defined(__MSDOS__) || defined(_WIN32)
if (ch == 0 || ch == 224) {
ch = getch();
if (ch == 63) { // F5
if (ch == 0 || ch == 224) {
ch = getch();
if (ch == 73) { // Page Up
cycle_theme(1);
continue;
} else if (ch == 64) { // F6
} else if (ch == 81) { // Page Down
cycle_theme(-1);
continue;
} else if (ch == 72) { // Up arrow
Expand Down

0 comments on commit a8b73b4

Please sign in to comment.