arogue5: add nonl() to prevent CR/LF confusion.
| author |
elwin |
| date |
Sat, 11 Aug 2012 18:56:32 +0000 |
| parents |
c49f7927b0fa |
| children |
88dc6813e36a |
| files |
arogue5/command.c arogue5/main.c |
| diffstat |
2 files changed, 2 insertions(+), 0 deletions(-)
[+]
|
line diff
--- a/arogue5/command.c Sat Aug 11 17:19:03 2012 +0000
+++ b/arogue5/command.c Sat Aug 11 18:56:32 2012 +0000
@@ -844,6 +844,7 @@
printf(retstr);
fflush(stdout);
+ nonl();
noecho();
raw();
keypad(cw,1);
--- a/arogue5/main.c Sat Aug 11 17:19:03 2012 +0000
+++ b/arogue5/main.c Sat Aug 11 18:56:32 2012 +0000
@@ -363,6 +363,7 @@
num_checks = 0;
}
#endif
+ nonl();
crmode(); /* Cbreak mode */
noecho(); /* Echo off */
}