arogue5: fix backspace key.

This commit is contained in:
John "Elwin" Edwards 2013-08-28 08:37:56 -07:00
parent 9506edfdc4
commit 6b4b35ba1e
2 changed files with 4 additions and 1 deletions

View file

@ -223,7 +223,7 @@ WINDOW *win;
* 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' &&