Fix the playback bug which was caused by CR/LF confusion

This commit is contained in:
John "Elwin" Edwards 2010-02-16 00:03:06 +00:00
parent 8d7895dd3b
commit 8d570c89a5
4 changed files with 6 additions and 0 deletions

View file

@ -149,6 +149,7 @@ setup()
alarm(CHECKTIME * 60);
num_checks = 0;
#endif
nonl();
crmode(); /* Cbreak mode */
noecho(); /* Echo off */
}

View file

@ -283,6 +283,7 @@ tstp(int a)
signal(SIGTSTP, tstp);
#endif
crmode();
nonl();
noecho();
clearok(curscr, TRUE);
wrefresh(curscr);
@ -403,6 +404,7 @@ shell()
md_shellescape();
noecho();
nonl();
crmode();
in_shell = FALSE;
clearok(stdscr, TRUE);