/* use the raw keypress */
ch = LastKey;
+ if ((ch == '#') && (flags & M_LASTFOLDER))
+ {
+ rv = 2;
+ my_wcstombs (buf, buflen, state->wbuf, state->lastchar);
+ goto bye;
+ }
+
#ifdef KEY_ENTER
/* treat ENTER the same as RETURN */
if (ch == KEY_ENTER)