arogue5: add nonl() to prevent CR/LF confusion.
This commit is contained in:
parent
f0527564ea
commit
8c27cf1402
2 changed files with 2 additions and 0 deletions
|
|
@ -844,6 +844,7 @@ shell()
|
||||||
|
|
||||||
printf(retstr);
|
printf(retstr);
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
|
nonl();
|
||||||
noecho();
|
noecho();
|
||||||
raw();
|
raw();
|
||||||
keypad(cw,1);
|
keypad(cw,1);
|
||||||
|
|
|
||||||
|
|
@ -363,6 +363,7 @@ setup()
|
||||||
num_checks = 0;
|
num_checks = 0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
nonl();
|
||||||
crmode(); /* Cbreak mode */
|
crmode(); /* Cbreak mode */
|
||||||
noecho(); /* Echo off */
|
noecho(); /* Echo off */
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue