Compile-time option to allow some prompts remember the input

Define EDIT_GETLIN to make the tty, X11, and Qt4 windowports to
remember the input strings for wishing and annotation.
This commit is contained in:
Pasi Kallinen
2018-03-26 22:58:28 +03:00
parent 66e50aeeac
commit 94ad7512a6
23 changed files with 55 additions and 29 deletions

View File

@@ -1033,7 +1033,7 @@ coord *click_cc;
{
boolean quick = (mode == 1); /* use cursor; don't search for "more info" */
boolean clicklook = (mode == 2); /* right mouse-click method */
char out_str[BUFSZ];
char out_str[BUFSZ] = DUMMY;
const char *firstmatch = 0;
struct permonst *pm = 0;
int i = '\0', ans = 0;