diff --git a/srogue/options.c b/srogue/options.c index 15f2572..fa51e25 100644 --- a/srogue/options.c +++ b/srogue/options.c @@ -122,7 +122,7 @@ WINDOW *awin; /* * loop reading in the string, and put it in a temporary buffer */ - for (sp = buf; (c=wgetch(awin)) != '\n' && c != '\r' && c != ESCAPE; + for (sp = buf; (c=readchar(awin)) != '\n' && c != '\r' && c != ESCAPE; wclrtoeol(awin), draw(awin)) { if (( (int)sp - (int)buf ) >= 50) { *sp = '\0'; /* line was too long */