diff arogue7/options.c @ 150:a307ff9cd95e

arogue7: fix the backspace key in prompts. md_readchar() now translates KEY_BACKSPACE to the erase character. XRogue seems to work already.
author John "Elwin" Edwards
date Thu, 28 May 2015 09:41:29 -0400
parents aac28331e71d
children f9ef86cf22b2
line wrap: on
line diff
--- a/arogue7/options.c	Wed May 27 17:29:32 2015 -0400
+++ b/arogue7/options.c	Thu May 28 09:41:29 2015 -0400
@@ -216,7 +216,7 @@
      * loop reading in the string, and put it in a temporary buffer
      */
     for (sp = buf;
-	(c = wgetch(win)) != '\n'	&& 
+	(c = md_readchar(win)) != '\n'	&& 
 	c != '\r'			&& 
 	c != '\033'			&& 
 	c != '\007'			&&