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;

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);