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

@@ -2028,6 +2028,7 @@ Wish for something.
Autocompletes.
Debug mode only.
Default key is `\texttt{\textasciicircum W}'.
Precede this command with the `\texttt{m}' prefix to show a wish history menu.
%.lp
\item[\#wmode]
Show wall modes.
@@ -4074,6 +4075,7 @@ Debug mode only: extra items to add to initial inventory.
Value is the name of a text file containing a list of item names,
one per line, up to a maximum of 128 lines.
Each line is processed by the function that handles wishing.
Entries are added to the wish history; see the wizwish-command.
%.lp ""
Example: