Add a history menu for wizwish

Use the 'm' Prefix to make wizwish show the history menu.
Also entries wished via WIZKIT are added to the history.

While debugging, I often need to wish the same thing multiple
times, and typing or pasting it with mouse is annoying...
This commit is contained in:
Pasi Kallinen
2026-03-25 13:46:03 +02:00
parent 41b2087436
commit f8bd79354c
7 changed files with 93 additions and 3 deletions

View File

@@ -3988,6 +3988,7 @@ extern boolean inventory_resistance_check(int);
extern char *item_what(int);
extern int destroy_items(struct monst *, int, int) NONNULLARG1;
extern int resist(struct monst *, char, int, int) NONNULLARG1;
extern void wish_history_add(char *);
extern void makewish(void);
extern const char *flash_str(int, boolean) NONNULL;