Mercurial > hg > early-roguelike
comparison rogue3/main.c @ 32:2dcd75e6a736
Fix the playback bug which was caused by CR/LF confusion
author | elwin |
---|---|
date | Tue, 16 Feb 2010 00:03:06 +0000 |
parents | 09da55b986ca |
children | 88ab59f06dfc |
comparison
equal
deleted
inserted
replaced
31:9223b6d7a243 | 32:2dcd75e6a736 |
---|---|
325 #ifdef SIGTSTP | 325 #ifdef SIGTSTP |
326 signal(SIGTSTP, SIG_DFL); | 326 signal(SIGTSTP, SIG_DFL); |
327 kill(0, SIGTSTP); | 327 kill(0, SIGTSTP); |
328 signal(SIGTSTP, tstp); | 328 signal(SIGTSTP, tstp); |
329 #endif | 329 #endif |
330 nonl(); | |
330 crmode(); | 331 crmode(); |
331 noecho(); | 332 noecho(); |
332 clearok(curscr, TRUE); | 333 clearok(curscr, TRUE); |
333 touchwin(cw); | 334 touchwin(cw); |
334 draw(cw); | 335 draw(cw); |
378 alarm(CHECKTIME * 60); | 379 alarm(CHECKTIME * 60); |
379 #endif | 380 #endif |
380 num_checks = 0; | 381 num_checks = 0; |
381 } | 382 } |
382 | 383 |
384 nonl(); | |
383 crmode(); /* Cbreak mode */ | 385 crmode(); /* Cbreak mode */ |
384 noecho(); /* Echo off */ | 386 noecho(); /* Echo off */ |
385 } | 387 } |
386 | 388 |
387 /* | 389 /* |