Fix the playback bug which was caused by CR/LF confusion
This commit is contained in:
parent
8d7895dd3b
commit
8d570c89a5
4 changed files with 6 additions and 0 deletions
|
|
@ -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 */
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue