Mercurial > hg > early-roguelike
comparison arogue5/command.c @ 68:7a7fb9b810e1
arogue5: add nonl() to prevent CR/LF confusion.
author | elwin |
---|---|
date | Sat, 11 Aug 2012 18:56:32 +0000 |
parents | c49f7927b0fa |
children | ad2cb9a07aaa |
comparison
equal
deleted
inserted
replaced
67:c49f7927b0fa | 68:7a7fb9b810e1 |
---|---|
842 | 842 |
843 md_shellescape(); | 843 md_shellescape(); |
844 | 844 |
845 printf(retstr); | 845 printf(retstr); |
846 fflush(stdout); | 846 fflush(stdout); |
847 nonl(); | |
847 noecho(); | 848 noecho(); |
848 raw(); | 849 raw(); |
849 keypad(cw,1); | 850 keypad(cw,1); |
850 in_shell = FALSE; | 851 in_shell = FALSE; |
851 wait_for(hw,'\n'); | 852 wait_for(hw,'\n'); |