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

@ -327,6 +327,7 @@ tstp(int p)
kill(0, SIGTSTP);
signal(SIGTSTP, tstp);
#endif
nonl();
crmode();
noecho();
clearok(curscr, TRUE);
@ -380,6 +381,7 @@ setup()
num_checks = 0;
}
nonl();
crmode(); /* Cbreak mode */
noecho(); /* Echo off */
}

View file

@ -214,6 +214,7 @@ restore(char *file, char **envp)
cw = newwin(LINES, COLS, 0, 0);
mw = newwin(LINES, COLS, 0, 0);
hw = newwin(LINES, COLS, 0, 0);
nonl();
nocrmode();
keypad(cw,1);
mpos = 0;