* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
*/
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include "mutt.h"
#include "mutt_menu.h"
#include "mutt_curses.h"
/* use the raw keypress */
ch = LastKey;
- if ((ch == '.') && (flags & (M_FILE | M_EFILE)))
+ if ((ch == '#') && (flags & M_LASTFOLDER))
{
rv = 2;
+ my_wcstombs (buf, buflen, state->wbuf, state->lastchar);
goto bye;
}