Skip to content

Commit

Permalink
Address #1265, merge all our old hacks into inkey_ex().
Browse files Browse the repository at this point in the history
The "new" inkey_ex() function should closely resemble the one from V309,
yet it contains additional hacks: ascii 28 hack and inkey_nonblock handling.

The flush_later has been defined to inkey_xtra, as those mean the same
thing.

We can now safely remove the "old" inkey() function and use the modern
facilities (hopefully).
  • Loading branch information
flambard-took committed Apr 24, 2019
1 parent e2e0938 commit db6ab06
Show file tree
Hide file tree
Showing 3 changed files with 160 additions and 380 deletions.
1 change: 1 addition & 0 deletions src/client/c-externs.h
Expand Up @@ -213,6 +213,7 @@ extern cptr keymap_act[KEYMAP_MODES][256];

extern s16b command_cmd;
extern s16b command_dir;
extern event_type command_cmd_ex;

extern custom_command_type custom_command[MAX_CUSTOM_COMMANDS];
extern int custom_commands;
Expand Down

0 comments on commit db6ab06

Please sign in to comment.